cocoapods

duplicate symbols for architecture x86_64 framework included twice

坚强是说给别人听的谎言 提交于 2021-02-11 10:43:24
问题 This is not the regular duplicate symbols error. I am using AFNetworking library for networking with cocoa pods. I also using a third party framework that has been added to the target "Link Binary With Libraries" list in build phases section. Unfortunately, This third party framework includes the AFNetworking that apparently is being used by it for networking. Therefore, it makes sense that this error has been produced. Any idea how can this be solved? Edit: Here it shows that

weex 启动 ios 模拟器

旧街凉风 提交于 2021-02-10 18:31:08
前提需要的安装   node   npm   weex-toolkit   cocoaPods 1. 创建weex工程   weex create helloWolrd 2. 进入helloWolrd文件夹安装依赖,我用cnpm install的话就会报错,这里最好用npm install   npm install 3. 添加ios应用   weex platfrom add ios 4. 到platforms/ios目录下为ios工程用cocoaPods安装第三方依赖,这里ios工程需要安装的依赖可以打开ios目录下的Podfile文件查看,如下      好了,接下来用pod命令对这些依赖进行安装,cd到ios目录,pod install就可以了,前提是要先安装好cocoaPods,ios开发对它都比较熟悉,这个网上有很多教程。还有如果pod库很久没有更新的话很可能会安装失败,因为找不到上图中新版本的weex相关的库,建义pod setup,pod update更新一下库。这个最好翻-墙操作,否则会等很久。如果之前更新过pod,那使用 pod install --no-repo-update 安装会更快。安装好后如下:    5. 再回到weex根目录,启动ios 模拟器   weex run ios   这一行命令下去,会先启动weex的webpack服务

cocoapods 执行pod trunk push 报错CDN: trunk URL couldn't be downloaded: https://raw.githubusercon...

£可爱£侵袭症+ 提交于 2021-02-08 07:56:45
今天发布ios sdk到cocoapods,最后执行pod trunk push时,出现了题目中的报错。 遗憾的时,查了一圈,都是让再podfile里加源,可是我是push啊,不是install和update啊,我没有podfile呀!咋办? 看到一个是在/etc/hosts中加 199 .232 .4 .133 raw .githubusercontent .com 然而并没有什么卵用。 好吧,我决定卸载重新装了,步骤如下: 1.查一下rvm ,ruby是不是好好的。查能显示版本号就可以了。 (1) rvm -v (2) ruby -v 2.查找cocoapods相关安装并卸载: 先查看本地安装过的cocopods相关东西,命令如下: $ gem list --local | grep cocoapods 然后逐个删除(如下示例): $ sudo gem uninstall cocoapods-core 执行安装cocoapods的操作: $ sudo gem install cocoapods 3.安装: OS X 10.11以后系统的安装cocoapods 指令:$ sudo gem install -n /usr/local/bin cocoapods --pre OS X 10.11之前系统的安装cocoapods 指令:$ sudo gem install

“Google/Analytics.h file not found” after updating pod to GoogleAnalytics

别来无恙 提交于 2021-02-08 01:56:38
问题 I was using the pod s pod 'Google/Analytics' pod 'Google/SignIn' but after running pod install I was receiving the following warning at the end of the pod installation [!] Google has been deprecated I searched in Google and I found that it is suggested to use the new pods pod 'GoogleAnalytics' pod 'GoogleSignIn' That removes the pod install warning. But makes my build fail with the following error in any file with the line: #import <Google/Analytics.h> (!error)Google/Analytics.h file not

No such module JSQMessagesViewController

匆匆过客 提交于 2021-02-07 20:20:46
问题 I'm trying to import JSQMessagesViewController: import JSQMessagesViewController And it gives me the error 'no such module'. I've seen many people with this problem on the web but I can't find the solution. Here's my podfile: # Uncomment this line to define a global platform for your project platform :ios, ‘9.2’ # Uncomment this line if you're using Swift use_frameworks! target ‘IXODES’ do pod 'JSQMessagesViewController' pod 'Firebase' pod 'Firebase/Core' pod 'Firebase/Database' pod 'Firebase

“No such module 'Firebase'” when add Firebase into a library

点点圈 提交于 2021-02-07 11:48:15
问题 I just created new Framework and added Firebase via CocoaPods, when combine the library it success. But when I add that library to other project via CocoaPods as well, then combine that project, and it raise an error: No such module 'Firebase' Anyone faced a problem like this? 回答1: You need to add the follwing to your POD file: pod 'Firebase' After that, you need to type in your terminal pod install (to refresh the pod file) 回答2: I solve my problem using just the specific import that I'm

Adding swift framework extracted from IPA

风流意气都作罢 提交于 2021-02-07 08:25:30
问题 I'm trying to run an IOS app created by another dev that is using a cocoapod from a private repository I have no access to. I managed to extract the .framework bundle from the IPA and add it to the xcode project but it is not being recognized (I get "No such module"). Is it possible to do what I'm trying to achieve? So far, what I've tried: build it in release as I guess the framework in the IPA is in release add the .framework as embedded binary add the .framework as Linked Framework and

Adding swift framework extracted from IPA

♀尐吖头ヾ 提交于 2021-02-07 08:23:28
问题 I'm trying to run an IOS app created by another dev that is using a cocoapod from a private repository I have no access to. I managed to extract the .framework bundle from the IPA and add it to the xcode project but it is not being recognized (I get "No such module"). Is it possible to do what I'm trying to achieve? So far, what I've tried: build it in release as I guess the framework in the IPA is in release add the .framework as embedded binary add the .framework as Linked Framework and

pod install failed on macOS Big sur

左心房为你撑大大i 提交于 2021-02-06 15:22:14
问题 I am pretty new to macOS and recently shift to macOS from windows, I started to working on react-native app and when I try react-native run-ios it gives me below error error Could not find "Podfile.lock" at /Users/saniranimantha/Documents/Learning/albums/ios/Podfile.lock. Did you run "pod install" in iOS directory? info Found Xcode project "albums.xcodeproj" info Launching iPhone 11 (iOS 14.3) info Building (using "xcodebuild -project albums.xcodeproj -configuration Debug -scheme albums

pod install failed on macOS Big sur

早过忘川 提交于 2021-02-06 15:20:54
问题 I am pretty new to macOS and recently shift to macOS from windows, I started to working on react-native app and when I try react-native run-ios it gives me below error error Could not find "Podfile.lock" at /Users/saniranimantha/Documents/Learning/albums/ios/Podfile.lock. Did you run "pod install" in iOS directory? info Found Xcode project "albums.xcodeproj" info Launching iPhone 11 (iOS 14.3) info Building (using "xcodebuild -project albums.xcodeproj -configuration Debug -scheme albums