App rejected by the AppStore

While uploading App for the Appstore i am getting below error.

Upload failed error: App Store Connect Operation Error ERROR ITMS-90087: “Unsupported Architectures. The executable for DemoApp.app/Frameworks/WowzaGoCoderSDK.framework contains unsupported architectures ‘[x86_64, i386]’.” error: App Store Connect Operation Error ERROR ITMS-90209: “Invalid Segment Alignment. The app binary at ‘DemoApp.app/Frameworks/WowzaGoCoderSDK.framework/WowzaGoCoderSDK’ does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.” error: App Store Connect Operation Error 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: App Store Connect Operation Warning

Hello @vipal kharva, can you please provide with the following info?

  1. What version of Xcode are you using?

  2. What version of the Wowza GoCoder SDK are you using?

  3. Does your bundle identifier you used to obtain the Wowza SDK match exactly what you have entered in your Xcode app? It has to be exact.

I will look for your responses. Thanks.

Version of Xcode : 10.1

Wowza GoCoder SDK (Bundle versions) : 1.7.0

Does your bundle identifier you used to obtain the Wowza SDK match exactly what you have entered in your Xcode app? It has to be exact. - YES

i have same problem for enterprise distribute

Failed to verify bitcode in WowzaGoCoderSDK.framework/WowzaGoCoderSDK:

WowzaGoCoderSDK.framework/WowzaGoCoderSDK (i386)

Ok let me ask the SDK team.

What version of SDK are you using @Melih Black? I ask because this was fixed in a recent release, but if you’re having issues with the latest version, I need to know. Thank you.

1.8.1.1369

I need someone to please provide me the full error details to show our SDK engineers @Melih Black. Thanks.

Did you remove inactive code from your project before submitting to the app store?

“The Wowza GoCoder SDK 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 Apple App Store, run the following script (linked below) to strip the inactive code from the binary.”

https://www.wowza.com/docs/how-to-install-gocoder-sdk-for-ios#remove-inactive-code-from-the-project

@Melih Black and @vipal kharva please let us know if following those linked steps to remove the inactive code fix this issue. Tagging you in hopes that you will see it sooner!

Hello @Rose Power-Wowza Community Manager,

Any Update on Error Solution?

Please see my response above, I posted it as an answer rather than a comment.

http://community.wowza.com/community/answers/52963/view.html

Please try the solution highlighted in green as Amara suggests and let me know if you are able to submit it after that @vipal kharva.