Wowza GoCoder SDK - Submit to App Store issues: Unsupported Architecture x86, Non public API 이슈

2017. 4. 15. 23:52아이폰 개발

ERROR ITMS-90087: "Unsupported Architectures. The executable for inDJ.app/Frameworks/WowzaGoCoderSDK.framework contains unsupported architectures '[x86_64, i386]'."

ERROR ITMS-90087: "Unsupported Architectures. The executable for inDJ.app/Frameworks/WowzaGoCoderSDK.framework contains unsupported architectures '[x86_64, i386]'."


ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'inDJ.app/Frameworks/WowzaGoCoderSDK.framework/WowzaGoCoderSDK' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."

ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'inDJ.app/Frameworks/WowzaGoCoderSDK.framework/WowzaGoCoderSDK' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."


ERROR ITMS-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-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."


WARNING ITMS-90080: "The executable 'Payload/inDJ.app/Frameworks/WowzaGoCoderSDK.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 QA1788 - Building a Position Independent Executable in the iOS Developer Library."

WARNING ITMS-90080: "The executable 'Payload/inDJ.app/Frameworks/WowzaGoCoderSDK.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 QA1788 - Building a Position Independent Executable in the iOS Developer Library."


------------------


Submit to App Store issues: Unsupported Architecture x86

http://stackoverflow.com/questions/30547283/submit-to-app-store-issues-unsupported-architecture-x86


Wowza GoCoder SDK framework를 적용한 상태에서 앱 스토어 등록을 하려니 위와 같은 오류가 주르륵 뜬다.


1. Embedded Binaries에 추가 되어 있던 Wowza GoCoder SDK를 제거했기 때문에 생기는 오류인 듯하다.

다시 Wowza GoCoder SDK를 다시 Embedded Binaries 항목에 추가하고 빌드한 다음, 등록을 하니 더이상 뜨지 않는다.


그러나, No-public API를 사용했다는 메일이 오면서 앱 스토어에 올라가지는 않는다.


2. Wowza SDK framework 적용 시 빼먹었던 부분 때문인 것으로 보여서 Build Phases에 Run script를 추가해주니 정상 등록된다.


(Optional) WowzaGoCoderSDK.framework contains both ARM and x86 code, which allows you to use it on a device or in the simulator. If you intend to submit your app to the App Store, run the following script to strip the inactive code from the binary.

  1. Select your target in the Project navigator, and click Build Phases at the top of the project editor.
  2. From the Editor menu, select Add Build Phase, then Add Run Script Build Phase (or click the + button in the upper-left corner of the Build Phases editor).
  3. Expand the disclosure triangle next to the new Run Script build phase that was just added. In the script editor box, paste the following:
    bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/WowzaGoCoderSDK.framework/strip-frameworks.sh"