New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios issue #63
Comments
You didn't remove
|
i can archive when change Mach-O type from Executable to Bundle but can't upload to Play Store. got this error App Store Connect Operation Error App Store Connect Operation Error App Store Connect Operation Error |
Did you verify the main.mm thing I've mentioned in my previous post? |
yes.. main.mm only remain in other sources only and remove reference in Unity/Classes/main.mm for this step ->
in that file only found this code ->
|
Something might have changed in the latest version of Unity, I am not sure. For the time being, I don't know why this issue is occurring. |
P.S. If you want, you can try this integration method: https://forum.unity.com/threads/using-unity-as-a-library-in-native-ios-android-apps.685195/ |
do i need to match framework with export unity? |
Do you mean .NET Framework version or something else? |
i got this error when archive
ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/yusriharun/Documents/project/menarakl/platforms/ios/unityLibrary/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
ld: entry point (_main) undefined. for architecture arm64
here is full error
Ld /Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/InstallationBuildProductsLocation/Applications/KL\ Tower.app/KL\ Tower normal arm64 (in target: KL Tower)
cd /Users/yusriharun/Documents/project/menarakl/platforms/ios
export IPHONEOS_DEPLOYMENT_TARGET=11.0
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos -L/Users/yusriharun/Documents/project/menarakl/platforms/ios/unityLibrary/Libraries -L/Users/yusriharun/Documents/project/menarakl/platforms/ios/unityLibrary/Libraries/Mapbox/Core/Plugins/iOS/MapboxMobileEvents -L/Users/yusriharun/Documents/project/menarakl/platforms/ios -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKCoreKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKLoginKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKShareKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKCoreKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKLoginKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKShareKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKCoreKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKLoginKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKShareKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKCoreKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKLoginKit -F/Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/FBSDKShareKit -filelist /Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/IntermediateBuildFilesPath/KL\ Tower.build/Release-iphoneos/KL\ Tower.build/Objects-normal/arm64/KL\ Tower.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=11.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/IntermediateBuildFilesPath/KL\ Tower.build/Release-iphoneos/KL\ Tower.build/Objects-normal/arm64/KL\ Tower_lto.o -Xlinker -final_output -Xlinker /Applications/KL\ Tower.app/KL\ Tower -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -ObjC -lc++ -weak_framework AVFoundation -weak_framework Coremotion -weak-lSystem -framework AssetsLibrary -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreText -framework CoreVideo -framework Foundation -framework iAd -framework MediaPlayer -framework OpenGLES -framework OpenAL -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit /Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/BuildProductsPath/Release-iphoneos/libCordova.a -framework Security -framework SystemConfiguration -weak_framework AudioToolbox -framework CoreLocation -weak_framework WebKit -weak_framework Social -lMapboxMobileEventsStatic -liPhone-lib -weak_framework MessageUI -framework MapKit -framework Pods_KL_Tower -lil2cpp -Xlinker -dependency_info -Xlinker /Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/IntermediateBuildFilesPath/KL\ Tower.build/Release-iphoneos/KL\ Tower.build/Objects-normal/arm64/KL\ Tower_dependency_info.dat -o /Users/yusriharun/Library/Developer/Xcode/DerivedData/KL_Tower-fptmvsgjnghtcnbpxkxxvtdkdnvn/Build/Intermediates.noindex/ArchiveIntermediates/KL\ Tower/InstallationBuildProductsLocation/Applications/KL\ Tower.app/KL\ Tower
ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/yusriharun/Documents/project/menarakl/platforms/ios/unityLibrary/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
ld: entry point (_main) undefined. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: