Hello i try to build my app on ios, since I don’t have a mac i use unity could build, i make ma android build in local and everything is ok for android and widows
so when i try to build ios on uiny cloud build i have linker erro ( i try many conf)
13476: ▸ Compiling DeviceSettings.mm
13477: ▸ Compiling CrashReporter.mm
13478: ▸ Compiling CameraCapture.mm
13479: ▸ Compiling CVTextureCache.mm
13480: ▸ Compiling CMVideoSampling.mm
13481: ▸ Compiling Assembly-CSharp_CodeGen.c
13482: ▸ Compiling Assembly-CSharp9.cpp
13483: ▸ Compiling Assembly-CSharp8.cpp
13484: ▸ Compiling Assembly-CSharp7.cpp
13485: ▸ Compiling Assembly-CSharp6.cpp
13486: ▸ Compiling Assembly-CSharp5.cpp
13487: ▸ Compiling Assembly-CSharp4.cpp
13488: ▸ Compiling Assembly-CSharp3.cpp
13489: ▸ Compiling Assembly-CSharp2.cpp
13490: ▸ Compiling Assembly-CSharp13.cpp
13491: ▸ Compiling Assembly-CSharp12.cpp
13492: ▸ Compiling Assembly-CSharp11.cpp
13493: ▸ Compiling Assembly-CSharp10.cpp
13494: ▸ Compiling Assembly-CSharp1.cpp
13495: ▸ Compiling Assembly-CSharp.cpp
13496: ▸ Compiling AppDelegateListener.mm
13497: ▸ Compiling ActivityIndicator.mm
13498: ▸ Compiling AVCapture.mm
13499: ▸ Linking UnityFramework
13500: ❌; ld: symbol(s) not found for architecture arm64
13501: ❌; clang: error: linker command failed with exit code 1 (use -v to see invocation)
13502: ** ARCHIVE FAILED **
13503: The following build commands failed:
13504: Ld /BUILD_PATH/Library/Developer/Xcode/DerivedData/Unity-iPhone-dnvodmpeonarflafrzpkqmmilzdu/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/UnityFramework.framework/UnityFramework normal
13505: (1 failure)
13506: Exit status: 65
13507: Maybe the error shown is caused by using the wrong version of Xcode
13508: Found multiple versions of Xcode in '/APPLICATION_PATH/'
13509: Make sure you selected the right version for your project
13510: This build process was executed using '/APPLICATION_PATH/Xcode12_4_0.app'
13511: If you want to update your Xcode path, either
13512: - Specify the Xcode version in your Fastfile
13513: ▸ xcversion(version: "8.1") # Selects Xcode 8.1.0
13514: - Specify an absolute path to your Xcode installation in your Fastfile
13515: ▸ xcode_select "/APPLICATION_PATH/Xcode8.app"
13516: - Manually update the path using
13517: ▸ sudo xcode-select -s /APPLICATION_PATH/Xcode.app
13518: +-------------+-------------------------------+
13519: | Build environment |
13520: +-------------+-------------------------------+
13521: | xcode_path | /APPLICATION_PATH/Xcode12_4_0.app |
13522: | gym_version | 2.182.0 |
13523: | sdk | iPhoneOS14.4.sdk |
13524: +-------------+-------------------------------+
13525: ▸ objc-class-ref in smallbang.a(SpeechRecognizer.o)
13526: ▸ "_OBJC_CLASS_$_SFSpeechRecognizer", referenced from:
13527: ▸ objc-class-ref in smallbang.a(SpeechRecognizer.o)
13528: ▸ ld: symbol(s) not found for architecture arm64
13529: ▸ clang: error: linker command failed with exit code 1 (use -v to see invocation)
13530: ⬆️ Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error
13531: For the complete and more detailed error log, check the full log at:
13532: /BUILD_PATH/Library/Logs/gym/Japprends-Unity-iPhone.log
13533: Looks like fastlane ran into a build/archive error with your project
13534: It's hard to tell what's causing the error, so we wrote some guides on how
13535: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
13536: Before submitting an issue on GitHub, please follow the guide above and make
13537: sure your project is set up correctly.
13538: fastlane uses `xcodebuild` commands to generate your binary, you can see the
13539: the full commands printed out in yellow in the above log.
13540: Make sure to inspect the output above, as usually you'll find more error information there
13541: +------------------+-----------+
13542: | Lane Context |
13543: +------------------+-----------+
13544: | DEFAULT_PLATFORM | ios |
13545: | PLATFORM_NAME | ios |
13546: | LANE_NAME | ios build |
13547: +------------------+-----------+
13548: Error building the application - see the log above
13549: +------+---------------------------------------------------------------+-------------+
13550: | fastlane summary |
13551: +------+---------------------------------------------------------------+-------------+
13552: | Step | Action | Time (in s) |
13553: +------+---------------------------------------------------------------+-------------+
13554: | 1 | Verifying fastlane version | 0 |
13555: | 2 | default_platform | 0 |
13556: | 3 | set_info_plist_value | 0 |
13557: [!] Error building the application - see the log above
13558: | 4 | update_project_provisioning | 0 |
13559: | 5 | sed -i '' '/PROVISIONING_PROFILE_SPECIFIER/d;/DEVELOPMENT_TEA | 0 |
13560: | | gym | 177 |
13561: +------+---------------------------------------------------------------+-------------+
13562: fastlane finished with errors
13563: ! build of 'default-ios' failed. ! xcode build failed.
13564: Publishing build 3 of 9071469460922/8e02d867-f2d4-4a5b-8e8a-22d3b2f38a82 for target 'default-ios'...
13565: Uploading extra_data/artifacts/icon.png ...done
13566: Uploading extra_data/build_report/summary.json
13567: ...done
13568: Uploading extra_data/build_report/summary.reflected.json ...done
13569: Uploading extra_data/build_report/steps.reflected.json ...done
13570: Uploading extra_data/build_report/files.reflected.json ...done
13571: Uploading extra_data/build_report/files.json ...done
13572: Uploading extra_data/build_report/strippingInfo.json ...done
13573: Uploading extra_data/build_report/v2.steps.json
13574: ...done
13575: Uploading /BUILD_PATH/Library/Logs/gym/Japprends-Unity-iPhone.log ...done
13576: Zipping cache files from Library
13577: done.
13578: publishing finished successfully.
13579: uninstalling iOS credentials for 9071469460922/8e02d867-f2d4-4a5b-8e8a-22d3b2f38a82 - default-ios
13580: MAC verified OK
13581: Removing certificate...
13582: removing: /BUILD_PATH/Library/MobileDevice/Provisioning Profiles/f3f23069-1213-4380-9aaa-a775fdaf1268.mobileprovision
13583: Build failed. Please check the log for further details.
13584: Using /BUILD_PATH/.rvm/gems/ruby-2.4.2
13585: postbuildsteps finished successfully
13586: postbuildstatus finished successfully.
13587: Finished: FAILURE