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

Removido BitCode ao fazer build no XCODE. #16

Closed fabiobatalha closed 8 years ago

fabiobatalha commented 8 years ago

Definido como "No" nas configurações de build pois estava dando erro.

screen shot 2016-03-24 at 10 49 33 am

Esta correto isso?

fabiobatalha commented 8 years ago

Traceback completo com erro de BITCODE:

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=7.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/cordova-plugin-googleplus -FSciELO/Plugins/com.phonegap.plugins.facebookconnect -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=7.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 GoogleOpenSource -framework GoogleSignIn -weak_framework AddressBook -weak_framework CoreText -weak_framework Security -weak_framework SystemConfiguration -weak-lz -weak-lz -framework FacebookSDK -lsqlite3 -weak_framework Social -weak_framework Accounts -framework MediaPlayer -framework AVFoundation -framework JavaScriptCore -weak_framework MessageUI -lGoogleAnalyticsServices -framework CoreData -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/cordova-plugin-googleplus/GoogleOpenSource.framework/GoogleOpenSource(GTLDateTime.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

Fiz o rebuild de tudo e funcionou. Acho que fiz uma atualização do XCODE depois de fazer o build do cordova e isso gerou algumas inconsistências.