cocoapods

CocoaPods: Installing a library that contains an embedded framework

霸气de小男生 提交于 2019-12-08 02:56:27
问题 When installing a library that contains an embedded framework, it seems that the framework needs to be linked to the application target manually. Is there any way this can be properly automated? Examples are: Dropbox-iOS-SDK Reveal-iOS-SDK NewRelicAgent 回答1: The framework search paths needs to contain the following (note the recursive setting): . . As far as I know, CocoaPods sets this up, so it must've been unset in the project(s) where this was occurring. 来源: https://stackoverflow.com

CocoaPods integration problems: dyld: Library not loaded: @rpath/Bolts.framework/Bolts

孤街浪徒 提交于 2019-12-08 02:50:18
问题 I know that there are almost 1000 questions like this one, but I've tried all the answers on the others and no one could helps me. I'm creating an app in Swift 2.0 that works with cocoapods. In my podfile I have: platform :ios, '8.0' use_frameworks! target 'TargetName' do pod 'SinchRTC' pod 'SinchVerification-Swift' pod 'Parse' end And everything was working fine, at one point I tried to run again the app and I got this error: dyld: Library not loaded: @rpath/Bolts.framework/Bolts Referenced

Cocoa Pods and Google Maps SDK

泄露秘密 提交于 2019-12-08 02:15:30
问题 When using CocoaPods to get the Google Maps SDK for iOS, I'm having troubles importing the sdk header file ( #import <GoogleMaps/GoogleMaps.h> ). I'm new to CocoaPods but I think I have everything working fine with the other libraries that I use (RestKit, AFNetworking...). For these APIs I still need to import the lib like this #import <AFNetworking/AFNetworking.h> instead of just #import "AFNetworking" . But it works fine. For Google Maps SDK I need to import it like this #import <Google

Private Pod update/install stuck at Pre-downloading: “” from “” step

只谈情不闲聊 提交于 2019-12-07 20:56:11
问题 We have a private git repo that has shared framework for mobile apps, let's call it mobilesdk. Recently a new dev joined the team, and when she is setting up the repo pod install & pod update mobilesdk are getting stuck at the following step: Pre-downloading: `mobilesdk` from `https://github.companyurl.com/mobileFramework/mobilesdk.git`, branch `release/0.9` pod inclusion: pod 'mobilesdk', :git => "https://github.companyurl.com/mobileframework/mobilesdk.git", :branch => "release/0.9" "pod env

iTunes Connect: Invalid Swift Support - framework doesn’t have the correct file type for this location

倖福魔咒の 提交于 2019-12-07 16:57:27
问题 I am currently upload my app on app store using Xcode 7.1.1 But when I upload my app, I received email from Apple. Dear developer, We have discovered one or more issues with your recent delivery for "****". To process your delivery, the following issues must be corrected: Invalid Swift Support - The file ****.app/Frameworks/JSQSystemSoundPlayer.framework, ****.app/Frameworks/JLToast.framework, ****.app/Frameworks/SwiftyJSON.framework, ****.app/Frameworks/JSQMessagesViewController.framework

FlurrySDK with cocoapods

馋奶兔 提交于 2019-12-07 16:21:30
问题 I'm trying to integrate FlurrySDK framework in my app using Cocoapods (as I'm doing with already a lot of framework) but for some reason xcode keeps throwing this compilation error : Undefined symbols for architecture armv7: "_OBJC_CLASS_$_Flurry", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) I've added this line in my Podfile : pod 'FlurrySDK' and I ran a pod

Facebook login on iOS with Parse & cocoapods errors

 ̄綄美尐妖づ 提交于 2019-12-07 16:09:27
I'm trying to follow this tutorial to create facebook/twitter authentication from iOS using Parse. My Podfile looks like this: platform :ios, '8.1' xcodeproj 'MyApp' target :Connectd, :exclusive => true do pod 'Parse' pod 'ParseUI' pod 'ParseFacebookUtilsV4' pod 'ParseTwitterUtils' pod 'FBSDKCoreKit' pod 'FBSDKLoginKit' end There are a bunch of reports on stackoverflow about library conflicts, but I think they are all old. If I am reading the Podfile.lock file correctly then all of the pods should work with Bolts 1.5 - Bolts (1.5.0): - Bolts/AppLinks (= 1.5.0) - Bolts/Tasks (= 1.5.0) - Bolts

Linker errors with ParseUI iOS and CocoaPods

僤鯓⒐⒋嵵緔 提交于 2019-12-07 16:02:12
问题 I was attempting to build an app using Parse and wanted to give ParseUI a shot. I imported Parse's main SDK using Cocoa pods, and it worked fine. When I decided to add ParseUI, I ran into problems. Undefined symbols for architecture i386: "_OBJC_CLASS_$_BFTaskCompletionSource", referenced from: objc-class-ref in PFImageView.o "_OBJC_CLASS_$_PFProduct", referenced from: objc-class-ref in PFProductTableViewController.o (maybe you meant: _OBJC_CLASS_$_PFProductTableViewController) "_OBJC_CLASS_$

iOS: ImageMagick compiler warnings in Xcode

本小妞迷上赌 提交于 2019-12-07 12:27:29
问题 I am using ImageMagick in an iOS project, however the library is outdated because the previous developer used the source code for this. I am using Xcode 6.3.2 and I want to use Cocoapods to integrate ImageMagick in the project instead of copying the source files. However when I integrate ImageMagick with Cocoapods I get four compiler warnings. This is the content of my pods file: target 'MyProject' do pod 'ImageMagick', '6.8.8-9' end These are the 4 warnings: If I try to change the file I get

How to move from CocoaPods to Carthage?

安稳与你 提交于 2019-12-07 10:31:32
问题 My project has linked with like 30 different libraries. Very few of them support Carthage. Do I need to make a branch and make them support Carthage one by one? Is there any better way to do so? 回答1: The carthage idea is based on frameworks. So if your dependencies do not support them, carthage is unable to build them for you. Simple as that. But: You can use carthage also to manage dependencies only by using the param "--no-build". Then carthage will only fetch the dependencies into your