i not sure how fix issue:
ld: -weak_library , -bitcode_bundle (xcode setting enable_bitcode=yes) cannot used clang: error: linker command failed exit code 1 (use -v see invocation)
i switch enable_bitcode no in target not issue.
i tried enable_bitcode = no in project settings though same issue.
as use cocoa pods i've updated pod file settings set enable bitcode no state:
source 'https://github.com/cocoapods/specs.git' platform :ios, '9.0' use_frameworks! inhibit_all_warnings! target 'myprojecttargetname' pod 'ymscorebluetooth', '~> 1.10' pod 'crittercismsdk', '5.4.0' pod 'xcglogger', '~> 3.3' pod 'tesseractocrios', '~> 4.0' end post_install |installer| installer.pods_project.targets.each |target| installer.pods_project.build_configurations.each |config| config.build_settings['enable_bitcode'] = 'no' config.build_settings['clang_allow_non_modular_includes_in_framework_modules'] = 'yes' end target.build_configurations.each |config| config.build_settings['enable_bitcode'] = 'no' config.build_settings['clang_allow_non_modular_includes_in_framework_modules'] = 'yes' end end end
Comments
Post a Comment