scieloorg / pulsemob_app

Aplicativo mobile para visualização de artigos publicados na rede SciELO.
BSD 2-Clause "Simplified" License
2 stars 3 forks source link

FacebookSDK Frameword, Error: does not contain Bitcode. #17

Closed fabiobatalha closed 8 years ago

fabiobatalha commented 8 years ago

Traceback::

Ld /Users/fabiobatalha/Library/Developer/Xcode/DerivedData/SciELO-ecqeawmzetkvbjdcqxvookgnvdsf/Build/Products/Debug-iphoneos/SciELO.app/SciELO normal armv7
    cd /Users/fabiobatalha/Trabalho/pulsemob_app/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=6.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/fabiobatalha/Library/Developer/Xcode/DerivedData/SciELO-ecqeawmzetkvbjdcqxvookgnvdsf/Build/Products/Debug-iphoneos -L/Users/fabiobatalha/Trabalho/pulsemob_app/platforms/ios/SciELO/Plugins/cordova-plugin-google-analytics -F/Users/fabiobatalha/Library/Developer/Xcode/DerivedData/SciELO-ecqeawmzetkvbjdcqxvookgnvdsf/Build/Products/Debug-iphoneos -FSciELO/Plugins/com.phonegap.plugins.facebookconnect -FSciELO/Plugins/cordova-plugin-googleplus -filelist /Users/fabiobatalha/Library/Developer/Xcode/DerivedData/SciELO-ecqeawmzetkvbjdcqxvookgnvdsf/Build/Intermediates/SciELO.build/Debug-iphoneos/SciELO.build/Objects-normal/armv7/SciELO.LinkFileList -miphoneos-version-min=6.0 -dead_strip -fembed-bitcode-marker -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-link-runtime -framework AssetsLibrary /Users/fabiobatalha/Library/Developer/Xcode/DerivedData/SciELO-ecqeawmzetkvbjdcqxvookgnvdsf/Build/Products/Debug-iphoneos/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework MediaPlayer -framework AVFoundation -framework JavaScriptCore -framework FacebookSDK -lsqlite3 -weak_framework Social -weak_framework Accounts -weak_framework Security -lGoogleAnalyticsServices -framework SystemConfiguration -framework CoreData -lz -framework GoogleOpenSource -framework GoogleSignIn -weak_framework AddressBook -weak_framework CoreText -weak_framework StoreKit -weak-lz -weak_framework MessageUI -Xlinker -dependency_info -Xlinker /Users/fabiobatalha/Library/Developer/Xcode/DerivedData/SciELO-ecqeawmzetkvbjdcqxvookgnvdsf/Build/Intermediates/SciELO.build/Debug-iphoneos/SciELO.build/Objects-normal/armv7/SciELO_dependency_info.dat -o /Users/fabiobatalha/Library/Developer/Xcode/DerivedData/SciELO-ecqeawmzetkvbjdcqxvookgnvdsf/Build/Products/Debug-iphoneos/SciELO.app/SciELO

ld: 'SciELO/Plugins/com.phonegap.plugins.facebookconnect/FacebookSDK.framework/FacebookSDK(FBLikeButtonBackgroundSelectedPNG.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
fabiobatalha commented 8 years ago

http://stackoverflow.com/questions/32636622/error-after-updating-to-xcode-7

fabiobatalha commented 8 years ago

O problema de compilação foi superado instalando os plugins desde seus repositórios originals.

Não sei qual o impacto desta mudança para o aplicativo.

Plugins: phonegap-facebook-plugin 0.12.0 "Facebook Connect" cordova-plugin-googleplus 4.0.8 "Google+"

leobueno commented 8 years ago

Cadu, atualiza nossa build e avalia o impacto, por favor.

ghost commented 8 years ago

@fabiobatalha não recomendamos que seja feita essa alteração nos plugins. O que deve ser feito é desabilitar o bitcode para que não ocorra esse problema conforme a imagem que segue.

bitcode