Questions tagged [ios-frameworks]

Use this tag to ask questions related to iOS frameworks.

Use this tag to ask questions related to iOS frameworks. For e.g. If you got any error related to frameworks as

warning: in /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/System/Library/Frameworks/CoreLocation.framework/CoreLocation, missing required architecture i386 in file
538 questions
139
votes
25 answers

Swift Framework: Umbrella header '[...].h' not found

In a custom framework containing both Objective-C and Swift code, the Swift compiler throws the following error: [build_path]/unextended-module.modulemap:2:19: error: umbrella header 'bugtest.h' not found umbrella header "bugtest.h" …
Tim Bodeit
  • 9,673
  • 3
  • 27
  • 57
101
votes
27 answers

'Framework not found' in Xcode

I know this has been asked a couple of times. I followed instructions from these ones: Adding frameworks to project in Xcode 5 and having *relative* paths added xcode4: Linker error: Directory not found for option Still Xcode is giving this…
Kim Montano
  • 2,185
  • 4
  • 26
  • 39
100
votes
2 answers

Creating iOS/OSX Frameworks: is it necessary to codesign them before distributing to other developers?

I am learning how to create iOS and OSX frameworks. Let's take iOS for example, the following steps work for me so far: xcodebuild framework using -sdk iphonesimulator and Build action xcodebuild framework using -sdk iphoneos and Build action Use…
Stanislav Pankevich
  • 11,044
  • 8
  • 69
  • 129
75
votes
8 answers

How to suppress `warning: linking against dylib not safe for use in application extensions`?

I have a dynamic framework that is shared between an iOS application and an extension. There is some code in that framework that references UIApplication, that is of course, not usable in an extension. Those calls are completely isolated and so I…
Wayne Hartman
  • 18,369
  • 7
  • 84
  • 116
47
votes
5 answers

How to reference header files in Bridging-Header.h after updating CocoaPods to 0.36.x and above?

After updating to CocoaPods 0.36.x, I am unable to add imports into my Bridging-Header.h file. I get the "DBSphereView.h file not found". The file is indeed present…
nmdias
  • 3,888
  • 5
  • 36
  • 59
47
votes
2 answers

How to structure a Xcode project with Frameworks, Extensions and CocoaPods

NB: Here is a more abstract and simplified sub-set of this question. With the addition of Touch Frameworks, Extensions and the Apple Watch Xcode 6 projects and workspaces are getting more and more complex. If you add CocoaPods into this mix things…
Richard Stelling
  • 25,607
  • 27
  • 108
  • 188
47
votes
5 answers

Class X is implemented in both and one of the two will be used, which one is undefined

I'm getting this warning: Class X is implemented in both and one of the two will be used, which one is undefined This warning is covered quite a bit across the web but i haven't found anything that answers the specific…
Zenton
  • 977
  • 1
  • 9
  • 20
41
votes
5 answers

Pod Error in Xcode "Id: framework not found Pods"

I am trying to clone a project from a bitbucket repository and am getting an error Id: framework not found Pods clang: error: linker command failed with exit code 1 (use -v to see invocation) when trying to run an Xcode project in workspace. These…
Pami
  • 413
  • 1
  • 4
  • 6
39
votes
3 answers

dyld: Library not loaded different behavior for 6.0 simulator/6.0 device

My app runs fine on the iPhone 6.0 Simulator in Xcode, but when I try to run it on my 6.0 device, I get the following fatal error: dyld: Library not loaded: /System/Library/Frameworks/AdSupport.framework/AdSupport Referenced from:…
Jeff Grimes
  • 2,300
  • 1
  • 23
  • 23
35
votes
8 answers

Undefined symbols for architecture i386: "_SCNetworkReachabilitySetCallback"

I use xcode4, on a openglES project i have added code for in-app purchase from the tutorial: http://www.raywenderlich.com/2797/introduction-to-in-app-purchases i have added SystemConfiguration.framework but this errors occurs: Ld…
sefiroths
  • 1,555
  • 3
  • 14
  • 29
34
votes
2 answers

How do I weak link frameworks on Xcode 4?

I need to weak link some framework with my target. But I can't find how to do it... If I try to run my project on 3.2 iPad simulator i get the following error: dyld: Library not loaded: /System/Library/Frameworks/iAd.framework/iAd Reason : Image not…
Quentin Hayot
  • 7,786
  • 6
  • 45
  • 62
34
votes
6 answers

How to check if a framework is Bitcode supported for Xcode7

From Xcode 7 it became one of the common problem that third party frameworks should support Bitcode. We can also disable the BITCODE by setting ENABLE_BITCODE to NO in Build settings. But i do not want to turn it off, instead i want to convert all…
ipraba
  • 16,485
  • 4
  • 59
  • 58
29
votes
5 answers

CocoaPods file reference is a member of multiple groups

I have an app with a share extension. My app depends on CocoaLumberjack/Default, and my share extension depends on CocoaLumberjack/Core. When I build with use_frameworks!, I get the following error: $ rm -rf Pods Podfile.lock; pod install Updating…
Heath Borders
  • 30,998
  • 16
  • 147
  • 256
26
votes
3 answers

Does iOS 8 support dynamic linking?

Up until iOS7, Apple did not support dynamic linking due to security concerns. Code reuse between developers usually relied on static libraries, which were built as part of the executable of the app. Introducing extensions in iOS8 seems to change…
Slavo
  • 15,255
  • 11
  • 47
  • 60
23
votes
3 answers

Implement PushKit and test in development behavior

i'd like to implement PushKit service within my app ( Voip app ), but i have following doubt: I see that i can generate only production voip certificate , it works if i try to test voip push notification service on develop device ? This is my…
pasqui86
  • 529
  • 1
  • 7
  • 22
1
2 3
35 36