motion-hockeyapp
motion-hockeyapp copied to clipboard
HockeySDK 1.6.1 not building (missing symbols) CrashReporter.framework not being linked
➜ HockeyBuildFailure rake --trace
** Invoke default (first_time)
** Invoke simulator (first_time)
** Execute simulator
** Invoke build:simulator (first_time)
** Execute build:simulator
rm -f ./build/iPhoneSimulator-8.1-Development/HockeyBuildFailure.app/Info.plist
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o "./build/iPhoneSimulator-8.1-Development/HockeyBuildFailure.app/HockeyBuildFailure" -filelist "/var/folders/tz/1j70mj3d6r33gcty8vt6ph0c0000gn/T/linker-objs-list20141013-37330-wole8s" -arch i386 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk" -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks -mios-simulator-version-min=8.1 -Wl,-no_pie -L/Library/RubyMotion/data/ios/8.1/iPhoneSimulator -lrubymotion-static -lobjc -licucore -framework UIKit -framework Foundation -framework CoreGraphics -framework CoreVideo -framework OpenGLES -framework VideoToolbox -framework CoreImage -framework Security -framework CoreFoundation -framework ImageIO -framework QuartzCore -framework CoreText -framework MobileCoreServices -framework CFNetwork -framework Accelerate -framework SystemConfiguration -framework CoreMedia -framework CoreAudio -force_load "/Users/ryan/dev/HockeyBuildFailure/vendor/Pods/build-iPhoneSimulator/libPods-HockeySDK.a"
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_BITPLCrashReport", referenced from:
objc-class-ref in libPods-HockeySDK.a(BITCrashManager.o)
"_OBJC_CLASS_$_BITPLCrashReporter", referenced from:
objc-class-ref in libPods-HockeySDK.a(BITCrashManager.o)
"_OBJC_CLASS_$_BITPLCrashReporterConfig", referenced from:
objc-class-ref in libPods-HockeySDK.a(BITCrashManager.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
rake aborted!
Command failed with status (1): [/Applications/Xcode.app/Contents/Developer...]
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:54:in `block in create_shell_runner'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:45:in `call'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:45:in `sh'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/file_utils_ext.rb:37:in `sh'
/Library/RubyMotion/lib/motion/project/builder.rb:320:in `build'
/Library/RubyMotion/lib/motion/project/app.rb:78:in `build'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/motion-cocoapods-1.6.0/lib/motion/project/cocoapods.rb:53:in `build_with_cocoapods'
/Library/RubyMotion/lib/motion/project/template/ios.rb:73:in `block (2 levels) in <top (required)>'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in `call'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in `block in execute'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in `each'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/Users/ryan/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'
/Library/RubyMotion/lib/motion/project/template/ios.rb:143:in `block in <top (required)>'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in `call'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in `block in execute'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in `each'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/Users/ryan/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in `each'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/Users/ryan/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150:in `invoke_task'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `each'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in `block in top_level'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78:in `block in run'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/Users/ryan/.rvm/gems/ruby-2.1.0/bin/rake:23:in `load'
/Users/ryan/.rvm/gems/ruby-2.1.0/bin/rake:23:in `<main>'
Tasks: TOP => build:simulator
https://www.dropbox.com/s/azojq6hqcl2wc2b/HockeyBuildFailure.zip?dl=0 It's not being linked with CrashReporter
I think there a few upstream problems right now:
This seemed to build fine with Rubymotion 2.36, but 2.36 should be yanked: http://hipbyte.myjetbrains.com/youtrack/issue/RM-628
With Rubymotion 2.35, I cant get anything to work with the latest cocoapods/motion-cocoapods. I'm stuck with: cocoapods (0.33.1) motion-cocoapods (1.5.0)
So right now, I'm pinned to:
Rubymotion 2.35 cocoapods (0.33.1) motion-cocoapods (1.5.0) motion-hockeyapp (1.2.1)
@joenoon yeah i'm struggling through a few issues right now, i got around this one by manually adding the CrashReporter.framework to RM and vendoring it myself. Also got a copy of 2.37 to fix dispatch
@joenoon have you tried 2.37 yet? I'm bummed that it takes this many workarounds to get it right.
I'm ok on 2.37 with cocoapods '0.33.1', motion-cocoapods '1.5.0'. @rromanchuk was able to get HockeySDK working with the latest cocoapods and a vendor hack, but I had other pods that have issues with the latest cocoapods gems, so I'm sticking to these for now.
@rromanchuk any tips?
I just lost a few hours on this after I thought it would be a good idea to upgrade to the latest and greatest cocoapods '0.34.2' and motion-cocoapods '1.6.0'.
After I admitted defeat by deleting the /vendor/pods directory and dropping back down to cocoapods '0.33.1' and motion-cocoapods '1.5.0' it's all working again.