Как отправить приложение Xamarin iOS с родной ссылкой в ​​AppStore? - PullRequest
3 голосов
/ 27 января 2020

Я работаю над приложением Xamarin Forms , которое включает в себя эту библиотеку SpatialiteForms . https://github.com/breekmd/SpatialiteForms

Когда я пытаюсь отправить приложение iOS в AppStore, оно отклоняется во время проверки.

Просто интересно кто-нибудь еще имел / имел эту проблему, и если да, то как ее решить?

Я использую последнюю версию Visual Studio 2019 и XCode.

Когда я проверял архитектуру iOSSpatialite рамки, это говорит iOSSpatialite is architecture: x86_64 (см. ниже)

lipo -info iOSSpatialite
Non-fat file: iOSSpatialite is architecture: x86_64

Возможно ли иметь его как arm64?

См. сообщение ниже, касающееся отклонения:

*Publishing project 'PROJECT_NAME' completed with errors.
App Store bundle validation failed for archive PROJECT_NAME
"altool" exited with code 67.
Missing 64-bit support. iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK or later. We recommend using the default "Standard Architectures" build setting for "Architectures" in Xcode, to build a single binary with both 32-bit and 64-bit support.
Unsupported Architectures. The executable for PROJECT_NAME.iOS.app/Frameworks/iOSSpatialite.framework contains unsupported architectures '[x86_64]'.
Invalid Bundle Structure - The binary file 'PROJECT_NAME.iOS.app/Frameworks/iOSSpatialite.framework/Frameworks/mod_spatialite_arm64.7.dylib' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.
Invalid Segment Alignment. The app binary at 'PROJECT_NAME.iOS.app/Frameworks/iOSSpatialite.framework/iOSSpatialite' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.
The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker.
Invalid architecture: Apps that include an app extension and framework must support arm64.
Invalid Bundle. The bundle at 'PROJECT_NAME.iOS.app/Frameworks/iOSSpatialite.framework' contains disallowed file 'Frameworks'.*

Спасибо, С.

...