joenoon / motion-hockeyapp Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 2-Clause "Simplified" License
License: BSD 2-Clause "Simplified" License
Our version of RubyMotion is:
$ motion --version
2.36
When trying to build our app, it fails with:
... a bunch of stuff ...
Link ./build/iPhoneSimulator-8.0-Development/Foobar.app/Foobar
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!
The main error messages seems to be Undefined symbols for architecture i386
.
We've extracted the HockeySDK 3.6.1 files just as before, in our vendor/HockeySDK
folder.
Prior versions worked fine. We've been able to compile on Yosemite, but not Mavericks.
Is anyone else seeing this problem?
A similar issue, not exactly the same is at:
Any plans on making this available for OSX apps?
I don't mind giving it a go. What should I look out for?
Per http://hockeyapp.net/releases/ we're on 3.8.6
with the HockeySDK
pod vs. the 3.6.2
commited to the gem master. Would you mind updating to call the newer SDK?
https://github.com/joenoon/motion-hockeyapp/blob/master/lib/motion/project/hockeyapp.rb#L77
This should play nice when installing the SDK via cocoapods
Looks like i'm getting a crash due to this gem when using extensions.
see https://github.com/joenoon/motion-hockeyapp/issues/new for a sample project
s in the library define global symbols)
rake aborted!
Pod::Podfile::StandardError: Unsupported platform `ios-extension`. Platform must be `:ios` or `:osx`.
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.33.1/lib/cocoapods-core/podfile/target_definition.rb:354:in `set_platform'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.33.1/lib/cocoapods-core/podfile/dsl.rb:291:in `platform'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/motion-cocoapods-1.5.0/lib/motion/project/cocoapods.rb:72:in `initialize'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/motion-cocoapods-1.5.0/lib/motion/project/cocoapods.rb:38:in `new'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/motion-cocoapods-1.5.0/lib/motion/project/cocoapods.rb:38:in `pods'
/Users/ryan/.rvm/gems/ruby-2.1.0/bundler/gems/motion-hockeyapp-ffb3ca11d681/lib/motion/project/hockeyapp.rb:73:in `block in <top (required)>'
/Library/RubyMotion/lib/motion/project/config.rb:110:in `call'
/Library/RubyMotion/lib/motion/project/config.rb:110:in `block in setup'
/Library/RubyMotion/lib/motion/project/config.rb:110:in `each'
/Library/RubyMotion/lib/motion/project/config.rb:110:in `setup'
/Library/RubyMotion/lib/motion/project/app.rb:66:in `config'
/Library/RubyMotion/lib/motion/project/app.rb:74:in `setup'
/Users/ryan/.rvm/gems/ruby-2.1.0/gems/motion-reveal-0.0.1/lib/motion-reveal.rb:23:in `<top (required)>'
/Users/ryan/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `require'
/Users/ryan/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
/Users/ryan/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `each'
/Users/ryan/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `block in require'
/Users/ryan/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `each'
/Users/ryan/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `require'
/Users/ryan/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.3.5/lib/bundler.rb:132:in `require'
/Users/ryan/dev/frontback-ios/extensions/today-extension/Rakefile:7:in `<top (required)>'
I'm incrementing my app.version
number in my Rakefile. However, when I upload my build to HockeyApp I get:
Bundle Version does not match. Expected value: 25 Actual value: 24
Is it a requirement that I also increment the short_version
number in the Rakefile?
Am I right in thinking if I don't run bundle exec rake pod:install
after installing this gem... the HockeySDK cocoapod won't install the SDK?
โ 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.