cancel
Showing results for 
Search instead for 
Did you mean: 

MDK create client error for iOS after macOS Ventura/ Xcode 14.1 update

0 Kudos

Hi All

I am facing an issue when creating client for IOS after the macOS was updated to Ventura 13.2.1

Initially I got an error stating:

Build input file cannot be found: '/Users/<username>/Downloads/MDK_SDK_6_1_3_002_Notarized/MDKClient_SDK/SAMRETEST_UX/platforms/ios/build/Debug-iphonesimulator/metadata-x86_64.bin'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

I added a folder named metadata-x86_64.bin in the said location and then ran the project in the xcode which gave following error, any idea what need to be done to fix it

KeyError: 'DEPLOYMENT_TARGET_CLANG_FLAG_NAME'

Command Ld failed with a nonzero exit code

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert

Please check the dependency installer. MDK 6.1.x does not support XCode 14. You will want to upgrade your MDK version to a newer version supporting XCode 14. As of this post the latest is MDK 6.3.5 and it does support Ventura/Xcode 14.

0 Kudos

Dear Bill

After upgrading the MDK and xcode as per suggestions I tried to create a new client again and it failed with following error. I have attached the MDK dependency installer status here to show that all components including cocoaPods is compatible. What do you think is the reason for failure

Done! Running time: 6.94749 sec

Saving metadata generation's stderr stream to: /Users/<username>/Library/Developer/Xcode/DerivedData/SAMNEW-bvvgvpsuvfvluiekqehhinfdamse/Build/Products/Debug-iphonesimulator/metadata-generation-stderr-x86_64.txt

~/Downloads/MDKCLNT03P_5-70006754/MDKClient_SDK/SAMNEW/platforms/ios

ld: warning: directory not found for option '-F/Users/<username>/Library/Developer/Xcode/DerivedData/SAMNEW-bvvgvpsuvfvluiekqehhinfdamse/Build/Products/Debug-iphonesimulator/MDFInternationalization'

ld: warning: directory not found for option '-F/Users/<username>/Library/Developer/Xcode/DerivedData/SAMNEW-bvvgvpsuvfvluiekqehhinfdamse/Build/Products/Debug-iphonesimulator/MDFTextAccessibility'

ld: warning: directory not found for option '-F/Users/<username>/Library/Developer/Xcode/DerivedData/SAMNEW-bvvgvpsuvfvluiekqehhinfdamse/Build/Products/Debug-iphonesimulator/MaterialComponents'

ld: warning: directory not found for option '-F/Users/<username>/Library/Developer/Xcode/DerivedData/SAMNEW-bvvgvpsuvfvluiekqehhinfdamse/Build/Products/Debug-iphonesimulator/SSZipArchive'

ld: warning: directory not found for option '-F/Users/<username>/Library/Developer/Xcode/DerivedData/SAMNEW-bvvgvpsuvfvluiekqehhinfdamse/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/ArcGIS-Runtime-SDK-iOS'

ld: framework not found ArcGIS

clang: error: linker command failed with exit code 1 (use -v to see invocation)

0 Kudos

Dear Bill

I went through another thread https://answers.sap.com/questions/13447397/issue-building-branded-mdk-ios-client-for-asset-ma.html where it was suggested we downgrade the version of cocoapods to 1.9.1, I tried this and it worked.

Sourabh

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Actually the ArcGIS issue is due to the something with that version of ArcGIS. You can downgrade the ArcGIS version as well by editing the extension-MapFramework > Plugin-MapFramework > platforms > ios > Podfile and change the version to '100.13.0'

The strange thing is that this does not affect all users / environments. Good to know that cocoapods downgrade also helped you.

Answers (0)