dji-sdk / Mobile-UXSDK-iOS

DJI Mobile UXSDK is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.
Other
73 stars 43 forks source link

Does version 4.11 support bitcode? #71

Open a2hill opened 4 years ago

a2hill commented 4 years ago

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?

dji-dev commented 4 years ago

Public comment from Lisa Fedane in Zendesk ticket #28517:

Yes, 4.11 UXSDK does support bitcode

Lisa Fedane DJI Developer Support

a2hill commented 4 years ago

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?

vivekTusiyd commented 4 years ago

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 commented 4 years ago

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 .

a2hill commented 4 years ago

@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?

india2sarthak commented 2 years ago

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
mitchrsm commented 2 years ago

any body find a solution to this?