Use cocoa touch Framework project in multiple apps - ios

I had two ios apps with a lot of redundand code, so i decided to extract this code to a shared cocoa touch framework and added this frameworks projectfile following RayWenderlichs tutorial .
I also read the Apples Framework Programming Guide but I am not able to solve my problem.
State Now:
The both apps work fine with the added framework.
My Problem:
I can't build both apps with target Generic iOS Device ,only real device target or a simulator.But both apps were able to build Generic iOS Device before adding the framework projects.
This is the output I get, trying to build with target Generic iOS Device:
Wished behaviour:
I'd wish the app and framework behave just like a simple project lib in C# or Java. I don't understand why this error happens.
Showing Recent Issues
Ld /Users/dkronenberger/Library/Developer/Xcode/DerivedData/VISUSDisplay-cwapquipviigpndwwktvfnqurbsq/Build/Intermediates.noindex/VISUSDisplay.build/Debug-iphoneos/VISUSDisplay.build/Objects-normal/armv7/VISUSRemote normal armv7
cd "/Users/dkronenberger/Documents/gitRepo/Mobile/VISUS/VISUS Display"
export IPHONEOS_DEPLOYMENT_TARGET=10.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -L/Users/dkronenberger/Library/Developer/Xcode/DerivedData/VISUSDisplay-cwapquipviigpndwwktvfnqurbsq/Build/Products/Debug-iphoneos -L/Users/dkronenberger/Documents/gitRepo/Mobile/VISUS/VISUS\ Display -F/Users/dkronenberger/Library/Developer/Xcode/DerivedData/VISUSDisplay-cwapquipviigpndwwktvfnqurbsq/Build/Products/Debug-iphoneos -F/Volumes/SoftwaresAndMedia/Adnan\ Projects/VISUS\ Project/Visus/Visus -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -F/Users/dkronenberger/Documents/gitRepo/Mobile/VISUS/VISUS\ Display -filelist /Users/dkronenberger/Library/Developer/Xcode/DerivedData/VISUSDisplay-cwapquipviigpndwwktvfnqurbsq/Build/Intermediates.noindex/VISUSDisplay.build/Debug-iphoneos/VISUSDisplay.build/Objects-normal/armv7/VISUSRemote.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -miphoneos-version-min=10.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/dkronenberger/Library/Developer/Xcode/DerivedData/VISUSDisplay-cwapquipviigpndwwktvfnqurbsq/Build/Intermediates.noindex/VISUSDisplay.build/Debug-iphoneos/VISUSDisplay.build/Objects-normal/armv7/VISUSRemote_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -lz -lstdc++ -framework GameKit -framework AudioToolbox -framework SystemConfiguration -framework Security -framework CFNetwork /Users/dkronenberger/Library/Developer/Xcode/DerivedData/VISUSDisplay-cwapquipviigpndwwktvfnqurbsq/Build/Products/Debug-iphoneos/ConnectionManager.framework/ConnectionManager -framework AVFoundation -framework CoreText -framework QuartzCore -lsqlite3.0 -framework UIKit -framework Foundation -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/dkronenberger/Library/Developer/Xcode/DerivedData/VISUSDisplay-cwapquipviigpndwwktvfnqurbsq/Build/Intermediates.noindex/VISUSDisplay.build/Debug-iphoneos/VISUSDisplay.build/Objects-normal/armv7/VISUSRemote_dependency_info.dat -o /Users/dkronenberger/Library/Developer/Xcode/DerivedData/VISUSDisplay-cwapquipviigpndwwktvfnqurbsq/Build/Intermediates.noindex/VISUSDisplay.build/Debug-iphoneos/VISUSDisplay.build/Objects-normal/armv7/VISUSRemote
ld: warning: directory not found for option '-F/Volumes/SoftwaresAndMedia/Afelde Projects/VISUS Project/Visus/Visus'
ld: warning: ignoring file /Users/dkronenberger/Library/Developer/Xcode/DerivedData/VISUSDisplay-cwapquipviigpndwwktvfnqurbsq/Build/Products/Debug-iphoneos/ConnectionManager.framework/ConnectionManager, file was built for arm64 which is not the architecture being linked (armv7): /Users/dkronenberger/Library/Developer/Xcode/DerivedData/VISUSDisplay-cwapquipviigpndwwktvfnqurbsq/Build/Products/Debug-iphoneos/ConnectionManager.framework/ConnectionManager
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_ConnectionManager", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in HomeViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
EDIT:
I already checked the architecture validation

Apparently, your framework ConnectionManager.framework has not been configured to compile code for the armv7 architecture.
You may try to change the configuration settings of the ConnectionManager target:
Check that Valid Architectures contains all the variants: arm64, armv7 and armv7s
Try to set Build Active Architecture Only to No for Debug and Relase if it does not still work.

Related

Unable to call methods from static library Pax86

I wanted to use the Pax86 library for iOS. Intially I tried creating the library manually, as I had all the required files. But it consists of file with code to create a static library which can be run on the terminal but only for iPhonesdk4.3. Since I have the iPhonesdk7.1 I was not able to create the Pax86 library. I do not have a system with iPhonesdk4.3. A static library build on iPhoneSDK4.3 was later provided.
I added the static library (.a) file to a new project also included the "include" file of pax86 to the new app.
When i try calling any method related to pax86, error occurs as mentioned below:
For Simulator:
Ld /Users/xyz/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Products/Debug-iphonesimulator/abc.app/abc normal i386
cd /Users/xyz/Documents/Sample_programs/abc
export IPHONEOS_DEPLOYMENT_TARGET=7.1
export PATH="/Users/xyz/Documents/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Users/ramani/Documents/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Users/xyz/Documents/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Users/xyz/Documents/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/xyz/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Products/Debug-iphonesimulator -L/Users/xyz/Documents/Sample_programs/abc/abc -L/Users/xyz/Documents/Sample_programs/abc/abc -F/Users/xyz/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Products/Debug-iphonesimulator -filelist /Users/xyz/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Intermediates/abc.build/Debug-iphonesimulator/abc.build/Objects-normal/i386/Shell.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework CoreLocation -framework CoreGraphics -lpax86 -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/xyz/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Intermediates/abc.build/Debug-iphonesimulator/Shell.build/Objects-normal/i386/abc_dependency_info.dat -o /Users/xyz/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Products/Debug-iphonesimulator/abc.app/abc
ld: warning: ignoring file /Users/xyz/Documents/Sample_programs/abc/abc/libpax86.a, file was built for archive which is not the architecture being linked (i386): /Users/xyz/Documents/Sample_programs/abc/abc/libpax86.a
Undefined symbols for architecture i386:
"_retro_api_version", referenced from:
-[ViewController viewDidLoad] in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
For Device:
Ld /Users/xyz/Library/Developer/Xcode/DerivedData/Shell-dvbzzlhzahggryayfurclxrbdjio/Build/Products/Debug-iphoneos/abc.app/Shell normal armv7
cd /Users/ramani/Documents/Sample_programs/Shell
export IPHONEOS_DEPLOYMENT_TARGET=7.1
export PATH="/Users/xyz/Documents/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Users/ramani/Documents/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Users/xyz/Documents/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Users/xyz/Documents/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/ramani/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Products/Debug-iphoneos -L/Users/xyz/Documents/Sample_programs/abc/abc -L/Users/xyz/Documents/Sample_programs/abc/abc -F/Users/xyz/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Products/Debug-iphoneos -filelist /Users/xyz/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Intermediates/abc.build/Debug-iphoneos/Shell.build/Objects-normal/armv7/Shell.LinkFileList -dead_strip -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.1 -framework CoreLocation -framework CoreGraphics -lpax86 -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/xyz/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Intermediates/abc.build/Debug-iphoneos/Shell.build/Objects-normal/armv7/abc_dependency_info.dat -o /Users/xyz/Library/Developer/Xcode/DerivedData/abc-dvbzzlhzahggryayfurclxrbdjio/Build/Products/Debug-iphoneos/abc.app/abc
ld: archive has no table of contents file '/Users/xyz/Documents/Sample_programs/abc/abc/libpax86.a' for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have set "Build Active Architecture" to both "YES" and "NO" removed all other architecture like armv7s, arm64 etc but still the above mentioned issues occur.
I have even added the .a file to usr/lib and then added it in Build Settings. cleared the Library Search Path and Framework Search Path.
I imported the static libary as present in the screenshot attached, and tried even without the "include".
Could you please help me resolve this issue. Is it because the static library is only meant for iPhoneSDK4.3 and not iPhoneSDK7.1 or any other SDK. I have tried it in iPhoneSDK3.2 as well, but no luck.
Please help.
Thanks in advance.
The static library was built for iPhone SDK 4.3, and will only work with that. It probably contains symbols for architecture armv6 only, while you are trying to use in i386 (simulator) and armv7/armv7s/arm64 (devices).
Your solution is to build that library using newer SDKs.

Nuance Vocalizer demo application fails to build for 64-bit simulator devices

Trying to build the demo app contained in the DragonMobileSDK_1.4.9 download, I get 62 undefined symbols referenced from libSpeechKit.a-x86_64-master.o, all prefixed with _nmsp_vector_. Using Xcode 5.1.
The app compiles okay for the non-64-bit simulator devices. When I searched for answers I saw similar posts but they were problems in user apps, resolved by linking against the same libraries as the demo app. In this case it's the demo app itself that fails.
The build output looks like this:
Ld /Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/ Products/Debug-iphonesimulator/Vocalizer.app/Vocalizer normal x86_64
cd /Users/user13/Developer/DragonMobileSDK_1.4.9/DragonMobileVocalizer
export IPHONEOS_DEPLOYMENT_TARGET=7.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/Products/Debug-iphonesimulator -F/Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/Products/Debug-iphonesimulator -F/Users/user13/Developer/DragonMobileSDK_1.4.9/DragonMobileVocalizer -filelist /Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/Intermediates/DMVocalizer.build/Debug-iphonesimulator/DMVocalizer.build/Objects-normal/x86_64/Vocalizer.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework SpeechKit -framework Foundation -framework UIKit -framework CoreGraphics -framework AudioToolbox -framework SystemConfiguration -framework AVFoundation -framework CFNetwork -framework Security -Xlinker -dependency_info -Xlinker /Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/Intermediates/DMVocalizer.build/Debug-iphonesimulator/DMVocalizer.build/Objects-normal/x86_64/Vocalizer_dependency_info.dat -o /Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/Products/Debug-iphonesimulator/Vocalizer.app/Vocalizer
Undefined symbols for architecture x86_64:
"_nmsp_audio_player_create", referenced from:
l093 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_player_delete", referenced from:
l017 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_player_getAudioSink", referenced from:
l027 in SpeechKit(libSpeechKit.a-x86_64-master.o
…
l069 in SpeechKit(libSpeechKit.a-x86_64-master.o)
l112 in SpeechKit(libSpeechKit.a-x86_64-master.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
You have to left only: armv7 armv7s i386 architectures for your project/demo in Architectures and Valid Architectures manually.

libpd for iOS Mach-O linker errors

I'm using libpd in a universal iOS app, working with iOS 7 and Xcode 5.0.2. libpd works as expected (can load and interact with Pd patches), but I'm having trouble using external objects.
Here's the error message I'm seeing:
Ld DerivedData/Build/Products/Debug-iphoneos/BrightHearts.app/BrightHearts normal armv7s
cd /Users/jman/Developer/Sensorium/brighthearts-beta/BrightHearts
setenv IPHONEOS_DEPLOYMENT_TARGET 7.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7s -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/jman/Developer/Sensorium/brighthearts-beta/BrightHearts/DerivedData/Build/Products/Debug-iphoneos
-F/Users/jman/Developer/Sensorium/brighthearts-beta/BrightHearts/DerivedData/Build/Products/Debug-iphoneos -filelist /Users/jman/Developer/Sensorium/brighthearts-beta/BrightHearts/DerivedData/Build/Intermediates/BrightHearts.build/Debug-iphoneos/BrightHearts.build/Objects-normal/armv7s/BrightHearts.LinkFileList
-dead_strip -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -framework GLKit -framework OpenGLES -framework SystemConfiguration -framework Security -framework QuartzCore -framework CoreText /Users/jman/Developer/Sensorium/brighthearts-beta/BrightHearts/DerivedData/Build/Products/Debug-iphoneos/libpd-ios.a
-framework AudioToolbox -framework AVFoundation -framework CoreBluetooth -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker
/Users/jman/Developer/Sensorium/brighthearts-beta/BrightHearts/DerivedData/Build/Intermediates/BrightHearts.build/Debug-iphoneos/BrightHearts.build/Objects-normal/armv7s/BrightHearts_dependency_info.dat -o
/Users/jman/Developer/Sensorium/brighthearts-beta/BrightHearts/DerivedData/Build/Products/Debug-iphoneos/BrightHearts.app/BrightHearts
Undefined symbols for architecture armv7s:
"_allsickles_setup", referenced from:
-[SENViewController setupPD] in SENViewController.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've seen the suggestion to set the 'Build Active Architecture' flag to YES for the libpd subproject - this doesn't make any difference, I still get the same error.
Is there a solution (obvious or otherwise) for this issue?
looks to me like you aren't actually compiling allsickles.c from the Cyclone external. That file has the method void allsickles_setup(void) which I guess you're trying to call to set up libpd.
If allsickles.c is in your project, maybe it's not actually getting compiled, so you might have to add it to "Compile Sources" under Build Phases.

Zbar Barcode Scanner compile error with PhoneGap

I'm having a problem getting my PhoneGap 3.2.0 app to compile on Mac when the Zbar barcode scanner plugin is implemented. It will compile within XCode if I deploy to the device, but to a simulated device, it gives the error:
Ld
DerivedData/MYAPP/Build/Products/Debug-iphonesimulator/MYAPP.app/MYAPP
normal i386
cd /Users/Cordova/MyApp/platforms/ios
setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
-L/Users/Cordova/MyApp/platforms/ios/DerivedData/MYAPP/Build/Products/Debug-iphonesimulator
-L/Users/Cordova/MyApp/platforms/ios/ZBarSDK -L/Users/Cordova/MyApp/platforms/ios/MYAPP/Plugins/com.manateeworks.barcodescanner/MWBarcodeScanner
-F/Users/Cordova/MyApp/platforms/ios/DerivedData/MYAPP/Build/Products/Debug-iphonesimulator
-filelist /Users/Cordova/MyApp/platforms/ios/DerivedData/MYAPP/Build/Intermediates/MYAPP.build/Debug-iphonesimulator/MYAPP.build/Objects-normal/i386/MYAPP.LinkFileList
-Xlinker -objc_abi_version -Xlinker 2 -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -force_load
/Users/Cordova/MyApp/platforms/ios/DerivedData/MYAPP/Build/Products/Debug-iphonesimulator/libCordova.a
-ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.0 -framework AssetsLibrary -framework CoreGraphics -framework MobileCoreServices -framework CoreLocation
-weak_framework ImageIO -framework CoreMotion -weak_framework AudioToolbox -weak_framework SystemConfiguration -framework Foundation
-framework UIKit -framework AVFoundation -framework CoreMedia -framework CoreVideo -framework QuartzCore -liconv -lzbar -Xlinker -dependency_info -Xlinker /Users/Cordova/MyApp/platforms/ios/DerivedData/MYAPP/Build/Intermediates/MYAPP.build/Debug-iphonesimulator/MYAPP.build/Objects-normal/i386/MYAPP_dependency_info.dat
-o /Users/Cordova/MyApp/platforms/ios/DerivedData/MYAPP/Build/Products/Debug-iphonesimulator/MYAPP.app/MYAPP
ld: warning: ignoring file
/Users/Cordova/MyApp/platforms/ios/ZBarSDK/libzbar.a, missing
required architecture i386 in file
/Users/Cordova/MyApp/platforms/ios/ZBarSDK/libzbar.a (3
slices) Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ZBarReaderViewController", referenced from:
objc-class-ref in ZbarcodeScanner.o "_ZBarReaderControllerResults", referenced from:
-[ZbarcodeScanner imagePickerController:didFinishPickingMediaWithInfo:] in
ZbarcodeScanner.o ld: symbol(s) not found for architecture i386 clang:
error: linker command failed with exit code 1 (use -v to see
invocation)
While I don't actually want or need the simulated devices; the problem is that from the terminal, when I run the command:
$ cordova build ios
it throws up the error:
Error: An error occurred while building the ios project.
** BUILD FAILED **
The following build commands failed:
Ld build/emulator/MyApp.app/MyApp normal i386
(1 failure)
If I try to type the command shown in the error on its own, it tells me:
ld: file not found: build/emulator/MyApp.app/MyApp
Which is true. It doesn't exist. I presume that something else is failing before this and stopping it from getting created.
If I remove Zbar all together, it everything works fine.
A previous version of the app I had made was way back at PhoneGap v2.5.0 and wasn't using the command-line-interface to create the build. I had put it all together manually, so it wasn't giving me this issue.
I've tried a lot of things already in the Build Settings / Build Phases sections. I've been at this for 2 weeks now, and it seems that everything I try just leads to new error messages. Please help!
I solved this! I downgraded the version of ZBar to the pervious version and it worked right away. I had some version in my project that apparently had ios7 fixes. Not sure what the exact cause of the issue was in the end mind you.

Xcode embedding second project, linking error

I have a project that uses (or would like to) the route-me (alpstein fork). I have followed the installations interaction with some limited success.
I have dragged "MapView.xcodeproj" in to my project, I have added mapview.lib, to "target dependancies" and "link binaries with libraries".
if I go to my MapViewController, i can write all my code and I get no errors when importing RMmapView.h. So the compiler is seeing the imported library, however when i build the application I get this error
d /Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Products/Debug-iphonesimulator/G4EMA.app/G4EMA normal i386
cd /Users/macuser/Dropbox/G4EMA
setenv IPHONEOS_DEPLOYMENT_TARGET 5.1
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Products/Debug-iphonesimulator -LRM -LRM/Alpstein-route-me-f06f2d0 -LRM/MapView -LRM/Proj4 -LRM/samples -LRM/Alpstein-route-me-f06f2d0/MapView -LRM/Alpstein-route-me-f06f2d0/Proj4 -LRM/Alpstein-route-me-f06f2d0/samples -LRM/MapView/Map -LRM/MapView/UnitTesting -LRM/samples/LayeredMap -LRM/samples/MapMemoryLeaksCheck -LRM/samples/MapTestbed -LRM/samples/MapTestbedFlipMaps -LRM/samples/MapTestbedTwoMaps -LRM/samples/MarkerMurder -LRM/samples/ProgrammaticMap -LRM/Alpstein-route-me-f06f2d0/MapView/Map -LRM/Alpstein-route-me-f06f2d0/MapView/UnitTesting -LRM/Alpstein-route-me-f06f2d0/samples/LayeredMap -LRM/Alpstein-route-me-f06f2d0/samples/MapMemoryLeaksCheck -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbed -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbedFlipMaps -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbedTwoMaps -LRM/Alpstein-route-me-f06f2d0/samples/MarkerMurder -LRM/Alpstein-route-me-f06f2d0/samples/ProgrammaticMap -LRM/MapView/Map/FMDB -LRM/MapView/Map/Resources -LRM/MapView/Map/SMCalloutView -LRM/samples/LayeredMap/Classes -LRM/samples/MapMemoryLeaksCheck/Classes -LRM/samples/MapTestbed/Classes -LRM/samples/MapTestbedFlipMaps/Classes -LRM/samples/MapTestbedTwoMaps/Classes -LRM/samples/MarkerMurder/Classes -LRM/samples/ProgrammaticMap/Classes -LRM/Alpstein-route-me-f06f2d0/MapView/Map/FMDB -LRM/Alpstein-route-me-f06f2d0/MapView/Map/Resources -LRM/Alpstein-route-me-f06f2d0/MapView/Map/SMCalloutView -LRM/Alpstein-route-me-f06f2d0/samples/LayeredMap/Classes -LRM/Alpstein-route-me-f06f2d0/samples/MapMemoryLeaksCheck/Classes -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbed/Classes -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbedFlipMaps/Classes -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbedTwoMaps/Classes -LRM/Alpstein-route-me-f06f2d0/samples/MarkerMurder/Classes -LRM/Alpstein-route-me-f06f2d0/samples/ProgrammaticMap/Classes -F/Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Products/Debug-iphonesimulator -filelist /Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Intermediates/G4EMA.build/Debug-iphonesimulator/G4EMA.build/Objects-normal/i386/G4EMA.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -objc,-all_load -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.1 /Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Products/Debug-iphonesimulator/libMapView.a -lz -framework SystemConfiguration -lsqlite3 -framework QuartzCore -framework CoreLocation -framework UIKit -framework Foundation -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Intermediates/G4EMA.build/Debug-iphonesimulator/G4EMA.build/Objects-normal/i386/G4EMA_dependency_info.dat -o /Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Products/Debug-iphonesimulator/G4EMA.app/G4EMA
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_RMTileImage", referenced from:
objc-class-ref in libMapView.a(RMMapTiledLayerView.o)
"_RMTileDummy", referenced from:
-[RMFractalTileProjection normaliseTile:] in libMapView.a(RMFractalTileProjection.o)
"_RMTileKey", referenced from:
+[RMTileCache tileHash:] in libMapView.a(RMTileCache.o)
-[RMAbstractWebMapSource imageForTile:inCache:] in libMapView.a(RMAbstractWebMapSource.o)
___47-[RMAbstractWebMapSource imageForTile:inCache:]_block_invoke in libMapView.a(RMAbstractWebMapSource.o)
___47-[RMAbstractWebMapSource imageForTile:inCache:]_block_invoke108 in libMapView.a(RMAbstractWebMapSource.o)
___42-[RMCompositeSource imageForTile:inCache:]_block_invoke in libMapView.a(RMCompositeSource.o)
___42-[RMCompositeSource imageForTile:inCache:]_block_invoke_2 in libMapView.a(RMCompositeSource.o)
"_RMTileMake", referenced from:
-[RMMapTiledLayerView drawLayer:inContext:] in libMapView.a(RMMapTiledLayerView.o)
-[RMTileCache beginBackgroundCacheForTileSource:southWest:northEast:minZoom:maxZoom:] in libMapView.a(RMTileCache.o)
___85-[RMTileCache beginBackgroundCacheForTileSource:southWest:northEast:minZoom:maxZoom:]_block_invoke_2 in libMapView.a(RMTileCache.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am truly at a loss as to why this is happening, my Research on s/o has drawn a blank so any information or pointers would be appreciated.

Resources