Select to view content in your preferred language

framework not found ArcGIS

3182
7
11-14-2012 11:49 PM
tonylau
Emerging Contributor
when i building my project,  throw a error.
[ATTACH=CONFIG]19315[/ATTACH]
anybody can help me?
thanks!!
0 Kudos
7 Replies
AaronConnolly
Regular Contributor
when i building my project,  throw a error.
[ATTACH=CONFIG]19315[/ATTACH]
anybody can help me?
thanks!!


Hi,

I would guess that you either didn't set the Framework Search Path in your project's settings. It might be helpful for you to read through the "Configuring an Xcode Project" directions as closely as you can. The directions are very specific:

http://resources.arcgis.com/en/help/runtime-ios-sdk/concepts/index.html#/Configuring_an_Xcode_Projec...

It might also be worthwhile to re-read the installation instructions as well. Alternatively, you can take the MapDemo project that comes bundled with the installation and modify that for your needs.

Good luck
- Aaron
0 Kudos
JeffGiesler
Deactivated User
Does it happen when you build to the simulator and a device or just one or the other?  I had a similar problem when I upgraded my device to IOS 6.  When I set "Build Active Architecture Only" To yes then I was able to build.Cheers,Jeff
0 Kudos
tonylau
Emerging Contributor
Hi,

I would guess that you either didn't set the Framework Search Path in your project's settings. It might be helpful for you to read through the "Configuring an Xcode Project" directions as closely as you can. The directions are very specific:

http://resources.arcgis.com/en/help/runtime-ios-sdk/concepts/index.html#/Configuring_an_Xcode_Projec...

It might also be worthwhile to re-read the installation instructions as well. Alternatively, you can take the MapDemo project that comes bundled with the installation and modify that for your needs.

Good luck
- Aaron


Hi Aaron, thanks your anwser.
Configuring is right, Framework Search Path was not wrong.
My agssdk version is 2.2.1.
Could i send my project to you for help me?
0 Kudos
tonylau
Emerging Contributor
Does it happen when you build to the simulator and a device or just one or the other?  I had a similar problem when I upgraded my device to IOS 6.  When I set "Build Active Architecture Only" To yes then I was able to build.Cheers,Jeff


Hi Jeff,
my simulator device is ios 5.1.
I had try to change "Build Active Architecture Only " to Yes ,but ......
0 Kudos
tonylau
Emerging Contributor
Detail message�?
Ld /Users/apple/Library/Developer/Xcode/DerivedData/mapDemo-aayfkhtdjypnxgbgijtkroktsdtp/Build/Products/Debug-iphonesimulator/mapDemo.app/mapDemo normal i386
    cd /Users/apple/WorkDocument/MacCode/mapDemo
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    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/iPhoneSimulator5.1.sdk -L/Users/apple/Library/Developer/Xcode/DerivedData/mapDemo-aayfkhtdjypnxgbgijtkroktsdtp/Build/Products/Debug-iphonesimulator -F/Users/apple/Library/Developer/Xcode/DerivedData/mapDemo-aayfkhtdjypnxgbgijtkroktsdtp/Build/Products/Debug-iphonesimulator -F/Users/apple/Library/SDKs/ArcGIS -F/Users/apple/Library/SDKs/ArcGIS/Samples -F/Users/apple/Library/SDKs/ArcGIS/Samples/MapViewDemo -F/Users/apple/Library/SDKs/ArcGIS/Samples/MapViewDemo/ArcGIS.bundle -F/Users/apple/Library/SDKs/ArcGIS/Samples/MapViewDemo/Classes -F/Users/apple/Library/SDKs/ArcGIS/Samples/MapViewDemo/Resources-iPad -F/Users/apple/Library/SDKs/ArcGIS/Samples/MapViewDemo/ArcGIS.bundle/Resources -F/Users/apple/Library/SDKs -F/Users/apple/Library/SDKs/ArcGIS -F/Users/apple/Library/SDKs/ArcGIS/Samples -F/Users/apple/Library/SDKs/ArcGIS/Samples/MapViewDemo -F/Users/apple/Library/SDKs/ArcGIS/Samples/MapViewDemo/ArcGIS.bundle -F/Users/apple/Library/SDKs/ArcGIS/Samples/MapViewDemo/Classes -F/Users/apple/Library/SDKs/ArcGIS/Samples/MapViewDemo/Resources-iPad -F/Users/apple/Library/SDKs/ArcGIS/Samples/MapViewDemo/ArcGIS.bundle/Resources -filelist /Users/apple/Library/Developer/Xcode/DerivedData/mapDemo-aayfkhtdjypnxgbgijtkroktsdtp/Build/Intermediates/mapDemo.build/Debug-iphonesimulator/mapDemo.build/Objects-normal/i386/mapDemo.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -all_load -framework ArcGIS -lstdc++ -fobjc-link-runtime -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -lstdc++ -lz -framework MediaPlayer -framework QuartzCore -framework CoreLocation -framework CoreText -framework MobileCoreServices -framework Security -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/apple/Library/Developer/Xcode/DerivedData/mapDemo-aayfkhtdjypnxgbgijtkroktsdtp/Build/Products/Debug-iphonesimulator/mapDemo.app/mapDemo

ld: framework not found ArcGIS
clang: error: linker command failed with exit code 1 (use -v to see invocation)
0 Kudos
tonylau
Emerging Contributor
thanks all
i had found my error.
when i setup agsruntimesdk, it had not add arcgis.o file to my sdk filepath.
0 Kudos
JeffGiesler
Deactivated User
Can you upload your project or a sample of it.Cheers,Jeff
0 Kudos