Start a new topic

ios Build failes "ld: framework not found WikitudeSDK"

Hello,


i am using the newest version of cordova and WikitudeSDK. On Windows i can build the Android version without any problems. Fro building the ios version i am using adobe Cloud build (https://build.phonegap.com). Here i always get the same error:



Ld /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/armv7/HelloCordova normal armv7 cd /project export IPHONEOS_DEPLOYMENT_TARGET=8.0 /Applications/Xcode92.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode92.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -L/project/build -F/project/build -FHelloCordova/Plugins/com.wikitude.phonegap.WikitudePlugin -filelist /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/armv7/HelloCordova.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/armv7/HelloCordova_lto.o -Xlinker -final_output -Xlinker /Applications/HelloCordova.app/HelloCordova -fobjc-arc -fobjc-link-runtime -ObjC /project/build/libCordova.a -framework WikitudeSDK -framework Accelerate -framework AVFoundation -framework AVKit -framework CFNetwork -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreText -framework CoreVideo -framework Foundation -framework MediaPlayer -framework OpenGLES -framework Photos -framework QuartzCore -framework SafariServices -framework Security -framework SystemConfiguration -framework UIKit -lc++ -lz -Xlinker -dependency_info -Xlinker /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/armv7/HelloCordova_dependency_info.dat -o /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/armv7/HelloCordova ld: framework not found WikitudeSDK clang: error: linker command failed with exit code 1 (use -v to see invocation) Ld /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/arm64/HelloCordova normal arm64 cd /project export IPHONEOS_DEPLOYMENT_TARGET=8.0 /Applications/Xcode92.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode92.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -L/project/build -F/project/build -FHelloCordova/Plugins/com.wikitude.phonegap.WikitudePlugin -filelist /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/arm64/HelloCordova.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/arm64/HelloCordova_lto.o -Xlinker -final_output -Xlinker /Applications/HelloCordova.app/HelloCordova -fobjc-arc -fobjc-link-runtime -ObjC /project/build/libCordova.a -framework WikitudeSDK -framework Accelerate -framework AVFoundation -framework AVKit -framework CFNetwork -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreText -framework CoreVideo -framework Foundation -framework MediaPlayer -framework OpenGLES -framework Photos -framework QuartzCore -framework SafariServices -framework Security -framework SystemConfiguration -framework UIKit -lc++ -lz -Xlinker -dependency_info -Xlinker /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/arm64/HelloCordova_dependency_info.dat -o /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/arm64/HelloCordova ld: framework not found WikitudeSDK clang: error: linker command failed with exit code 1 (use -v to see invocation) ** ARCHIVE FAILED ** The following build commands failed: Ld /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/armv7/HelloCordova normal armv7 Ld /Library/Developer/Xcode/DerivedData/HelloCordova-aqgsljzidcfmrlcwiunyjaeeifzn/Build/Intermediates.noindex/ArchiveIntermediates/HelloCordova/IntermediateBuildFilesPath/HelloCordova.build/Release-iphoneos/HelloCordova.build/Objects-normal/arm64/HelloCordova normal arm64 (2 failures) Error code 65 for command: xcodebuild with args: -xcconfig,/private/project/cordova/build-release.xcconfig,-workspace,HelloCordova.xcworkspace,-scheme,HelloCordova,-configuration,Release,-destination,generic/platform=iOS,-archivePath,HelloCordova.xcarchive,archive,CONFIGURATION_BUILD_DIR=/private/project/build/device,SHARED_PRECOMPS_DIR=/private/project/build/sharedpch


Thanks for your support! Please help me to fix this issue!


Kind regards,

Harald




txt

Hi Harald,

Can you download the files from Phonegap build in case the build failed? I would like to know how it looks like.

Installing the Wikitude Cordova plugin on a local machine doesn't cause any issues so I'm curious how the PhoneGap build environment does this.


Is it true that you only upload html/js/css files?


Best regards,

Andreas

Hello,


unfortunately you can not download the files if the build failed. 


I upload a folder that includes:

- config.xml

- www

- res


Thanks for your support!


Harald

Login or Signup to post a comment