Mobile-UXSDK-iOS icon indicating copy to clipboard operation
Mobile-UXSDK-iOS copied to clipboard

Does version 4.11 support bitcode?

Open a2hill opened this issue 5 years ago • 7 comments

In the last release iOS Mobile SDK 4.11 now supports bitcode. UXSDK does not mention supporting bitcode in its release notes and when attempting to build a release version of the app I get the error:

bitcode bundle could not be generated because '/Users/..../Pods/DJI-UXSDK-iOS/iOS_UXSDK/DJIUXSDK.framework/DJIUXSDK' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/..../Pods/DJI-UXSDK-iOS/iOS_UXSDK/DJIUXSDK.framework/DJIUXSDK' for architecture arm64

I've enabled bitcode for debug and release variants. Does verison 4.11 of UXSDK-iOS support bitcode?

a2hill avatar Oct 01 '19 22:10 a2hill

Public comment from Lisa Fedane in Zendesk ticket #28517:

Yes, 4.11 UXSDK does support bitcode

Lisa Fedane DJI Developer Support

dji-dev avatar Oct 03 '19 00:10 dji-dev

What about the above error? Has DJIUXSDK.framework been tested during an archive (release) build?

Also the Zendesk ticket linked to does not seem to exist?

a2hill avatar Oct 08 '19 23:10 a2hill

Hi @a2hill , i am also getting the same error when trying to archiving. When running on the device it is working fine.

Any help would be much appreciated.

vivekTusiyd avatar Oct 22 '19 14:10 vivekTusiyd

Hi @a2hill , this issue is fixed with Xcode 11.1. In Xcode 10.0 i was facing the same issue while archiving but app was working fine on device. Again i tried in Xcode 11.1 and everything was fixed .

vivekTusiyd avatar Oct 23 '19 08:10 vivekTusiyd

@vivekTusiyd I’ve tried it with 11.1 now but I am still getting the same error. Is there anything that else that might have changed when you updated to 11.1 (on Mojave)? Are you on Mojave or Catalina?

a2hill avatar Nov 18 '19 20:11 a2hill

Facing the same issue on Xcode 13.1 with UXSDK 4.14

bitcode bundle could not be generated because '{PATH}/Pods/DJI-UXSDK-iOS/iOS_UX_SDK/DJIUXSDK.framework/DJIUXSDK' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '{PATH}/Pods/DJI-UXSDK-iOS/iOS_UX_SDK/DJIUXSDK.framework/DJIUXSDK' for architecture arm64

india2sarthak avatar Nov 03 '21 19:11 india2sarthak

any body find a solution to this?

mitchrsm avatar Mar 17 '22 21:03 mitchrsm