我可以在 iOS 7 上运行的应用程序中使用 swift sdk 吗?
Can I use swift sdk in app which runs on iOS 7?
我正在尝试开发一个 swift SDK,它将在 运行ning 的应用程序中运行 iOS 7,
我不在乎我的 SDK 是否仅在应用程序在 iOS8 上 运行ning 时工作,但我不想强制目标应用程序仅在 [=21] 上 运行 =].
当我尝试将我的部署目标更改为 7.0 并将应用上传到应用商店时,我收到以下错误:
Archive submission failed with errors:
! ERROR 'TMS-90362: "Invalid Info.plist value. The value for the key
•MinimumOSVersion• in bundle MiniAppDemo.app/Frameworks/
MiniAppFramework.framework is invalid. The minimum value is 8.0"
ERROR IT MS-90362: "Invalid Info.plist value. The value for the key
'MinimumOSVersion' in bundle
MiniAppDemo.app/Frameworks/MiniAppFramework.framework is invalid. The
minimum value is 8.0"
ERROR ITMS-9020g: "Invalid Segment Alignment. The app binary at
'MiniAppDemo.app/Frameworks/MiniAppFramework.frameworW
MiniAppFrameworkl does not have proper segment alignment. Try
rebuilding the app with the latest Xcode version." ERROR IT MS-90209:
•Invalid Segment Alignment. The app binary at
'MiniAppDemo.app/FrameworksWiniAppFramework.frameworWMiniAppFramework'
does not have proper segment alignment. Try rebuilding the app with
the latest Xcode version."
ERROR 'TMS-90125: "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." ERROR
ITMS-g012S: •The binary is invalid. The encryption info in the 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. • WARNING ITMS-900BO•. "The executable
'Payload/MiniAppDemo.app/Frameworks/MiniAppFramework.framework' is not
a Position Independent Executable. Please ensure that your build
settings are configured to create PIE executables. For more
information refer to Technical Q&A QA178B - Building a Position
Independent Executable in the iOS Developer Library." WARNING IT
MS-90080: 'The executable
'Payload/MiniAppDemo.app/Frameworks/MiniAppFramework.framevvork' is
not a Position Independent Executable. Please ensure that your build
settings are configured to create PIE executables. For more
information refer to Technical Q&A QAI 788 - Building a Position
Independent Executable in the iOS Developer Done Library. "
检查 Alamofire 是否存在相同问题:
“嵌入式框架需要的最低部署目标为 iOS 8 或 OS X Mavericks。
要将 Alamofire 与针对 iOS 7 的项目一起使用,您必须直接在项目中包含位于源目录中的所有 Swift 文件。 请参阅'Source File' 部分以获取更多说明。"
我正在尝试开发一个 swift SDK,它将在 运行ning 的应用程序中运行 iOS 7,
我不在乎我的 SDK 是否仅在应用程序在 iOS8 上 运行ning 时工作,但我不想强制目标应用程序仅在 [=21] 上 运行 =].
当我尝试将我的部署目标更改为 7.0 并将应用上传到应用商店时,我收到以下错误:
Archive submission failed with errors:
! ERROR 'TMS-90362: "Invalid Info.plist value. The value for the key •MinimumOSVersion• in bundle MiniAppDemo.app/Frameworks/ MiniAppFramework.framework is invalid. The minimum value is 8.0"
ERROR IT MS-90362: "Invalid Info.plist value. The value for the key 'MinimumOSVersion' in bundle MiniAppDemo.app/Frameworks/MiniAppFramework.framework is invalid. The minimum value is 8.0" ERROR ITMS-9020g: "Invalid Segment Alignment. The app binary at 'MiniAppDemo.app/Frameworks/MiniAppFramework.frameworW MiniAppFrameworkl does not have proper segment alignment. Try rebuilding the app with the latest Xcode version." ERROR IT MS-90209: •Invalid Segment Alignment. The app binary at 'MiniAppDemo.app/FrameworksWiniAppFramework.frameworWMiniAppFramework' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version." ERROR 'TMS-90125: "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." ERROR ITMS-g012S: •The binary is invalid. The encryption info in the 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. • WARNING ITMS-900BO•. "The executable 'Payload/MiniAppDemo.app/Frameworks/MiniAppFramework.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA178B - Building a Position Independent Executable in the iOS Developer Library." WARNING IT MS-90080: 'The executable 'Payload/MiniAppDemo.app/Frameworks/MiniAppFramework.framevvork' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QAI 788 - Building a Position Independent Executable in the iOS Developer Done Library. "
检查 Alamofire 是否存在相同问题:
“嵌入式框架需要的最低部署目标为 iOS 8 或 OS X Mavericks。
要将 Alamofire 与针对 iOS 7 的项目一起使用,您必须直接在项目中包含位于源目录中的所有 Swift 文件。 请参阅'Source File' 部分以获取更多说明。"