2

I am getting error "AFNetworking was built without full bitcode" when i enable bitcode in a project. There is a open issue also there.

If anyone have solve the issue please help me.

AFNetworking version : 3.2.1

Detailed error : "ld: bitcode bundle could not be generated because '/Users/Library/Developer/Xcode/DerivedData/ServiceSDK-hkwcndktudaxkjebecaqimswckgp/Build/Products/Release-iphoneos/AFNetworking/AFNetworking.framework/AFNetworking' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/Library/Developer/Xcode/DerivedData/ServiceSDK-hkwcndktudaxkjebecaqimswckgp/Build/Products/Release-iphoneos/AFNetworking/AFNetworking.framework/AFNetworking' for architecture armv7"

0

1 Answer 1

8

Ok, so i fixed the issue by adding following in podfile

    post_install do |installer|
         installer.pods_project.targets.each do |target|
             target.build_configurations.each do |config|
                 config.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode'
                 config.build_settings['ENABLE_BITCODE'] = 'YES'
             end
         end
     end

May be it will help others.

Thanks

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.