cocoapods

iOS - use of @import when modules are disabled error

℡╲_俬逩灬. 提交于 2021-01-27 04:06:50
问题 I am receiving this error when using the DCPathButton library (through podspec). Modules are enabled in my project settings. Do i need to do anything else to enable modules in pods? 回答1: If "Link Frameworks Automatically" is already set to YES in the Build Settings, you have to set "Enable Modules (C and Objective-C)" as well. 回答2: Set the "Link Frameworks Automatically" to YES 来源: https://stackoverflow.com/questions/27479248/ios-use-of-import-when-modules-are-disabled-error

iOS - use of @import when modules are disabled error

时光毁灭记忆、已成空白 提交于 2021-01-27 04:06:37
问题 I am receiving this error when using the DCPathButton library (through podspec). Modules are enabled in my project settings. Do i need to do anything else to enable modules in pods? 回答1: If "Link Frameworks Automatically" is already set to YES in the Build Settings, you have to set "Enable Modules (C and Objective-C)" as well. 回答2: Set the "Link Frameworks Automatically" to YES 来源: https://stackoverflow.com/questions/27479248/ios-use-of-import-when-modules-are-disabled-error

iOS - use of @import when modules are disabled error

放肆的年华 提交于 2021-01-27 04:06:23
问题 I am receiving this error when using the DCPathButton library (through podspec). Modules are enabled in my project settings. Do i need to do anything else to enable modules in pods? 回答1: If "Link Frameworks Automatically" is already set to YES in the Build Settings, you have to set "Enable Modules (C and Objective-C)" as well. 回答2: Set the "Link Frameworks Automatically" to YES 来源: https://stackoverflow.com/questions/27479248/ios-use-of-import-when-modules-are-disabled-error

Bundle(identifier: “org.cocoapods.MyPrivatePod”) return nil

♀尐吖头ヾ 提交于 2021-01-26 18:04:36
问题 I would like to access to my private pod bundle, but always return nil. Bundle(identifier: "org.cocoapods.MyPrivatePod")//only this return nil Bundle(identifier: "org.cocoapods.Alamofire") Bundle(identifier: "org.cocoapods.SQLCipher") My podspec Pod::Spec.new do |s| s.name = 'MyPrivatePod' s.version = '1.4.0' s.summary = 'MyPrivatePod Component' s.description = "MyPrivatePod." s.homepage = 'https://github.com/myprivatecompany/myprivtepodrepo.git' s.license = "" s.authors = { 'me me' => 'me@me

Bundle(identifier: “org.cocoapods.MyPrivatePod”) return nil

三世轮回 提交于 2021-01-26 18:00:16
问题 I would like to access to my private pod bundle, but always return nil. Bundle(identifier: "org.cocoapods.MyPrivatePod")//only this return nil Bundle(identifier: "org.cocoapods.Alamofire") Bundle(identifier: "org.cocoapods.SQLCipher") My podspec Pod::Spec.new do |s| s.name = 'MyPrivatePod' s.version = '1.4.0' s.summary = 'MyPrivatePod Component' s.description = "MyPrivatePod." s.homepage = 'https://github.com/myprivatecompany/myprivtepodrepo.git' s.license = "" s.authors = { 'me me' => 'me@me

Xcode 11.3.1 Failed to load Info.plist from bundle at path

纵饮孤独 提交于 2021-01-20 19:52:43
问题 I have React Native project which stops working after Xcode upgrade to version 11.3.1. The error is following Could not install at this time. Failed to load Info.plist from bundle at path /Users/dmytro/Library/Developer/CoreSimulator/Devices/F0BD5650-04A4-4534-B3F6-56B74ED1B0C2/data/Library/Caches/com.apple.mobile.installd.staging/temp.aRWRdh/extracted/Target.app/Frameworks/RCTVibration.framework; Extra info about plist: ACL=<not found and details Details This app could not be installed at

Xcode 12 build target in wrong order for simulator?

℡╲_俬逩灬. 提交于 2021-01-16 08:28:32
问题 My project always runs correctly on all devices using Xcode 11, but after I installed Xcode 12 beta 4, it is failing to build on the simulator. I compared the build logs of Xcode 11 and Xcode 12 and it seems in Xcode 12 that my main target is being built before the cocoa pods target, and so the link will fail because the cocoapods library will not be found. How to fix the order of the build target? In Xcode 11, everything is fine. My own target is built after the cocoapods target . In Xcode

Xcode 12 build target in wrong order for simulator?

安稳与你 提交于 2021-01-16 08:26:51
问题 My project always runs correctly on all devices using Xcode 11, but after I installed Xcode 12 beta 4, it is failing to build on the simulator. I compared the build logs of Xcode 11 and Xcode 12 and it seems in Xcode 12 that my main target is being built before the cocoa pods target, and so the link will fail because the cocoapods library will not be found. How to fix the order of the build target? In Xcode 11, everything is fine. My own target is built after the cocoapods target . In Xcode

Xcode 12 build target in wrong order for simulator?

南笙酒味 提交于 2021-01-16 08:25:28
问题 My project always runs correctly on all devices using Xcode 11, but after I installed Xcode 12 beta 4, it is failing to build on the simulator. I compared the build logs of Xcode 11 and Xcode 12 and it seems in Xcode 12 that my main target is being built before the cocoa pods target, and so the link will fail because the cocoapods library will not be found. How to fix the order of the build target? In Xcode 11, everything is fine. My own target is built after the cocoapods target . In Xcode

Xcode 12 build target in wrong order for simulator?

筅森魡賤 提交于 2021-01-16 08:24:08
问题 My project always runs correctly on all devices using Xcode 11, but after I installed Xcode 12 beta 4, it is failing to build on the simulator. I compared the build logs of Xcode 11 and Xcode 12 and it seems in Xcode 12 that my main target is being built before the cocoa pods target, and so the link will fail because the cocoapods library will not be found. How to fix the order of the build target? In Xcode 11, everything is fine. My own target is built after the cocoapods target . In Xcode