rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

Do not run with iOS 6.1 simulator #375

Closed marocchino closed 10 years ago

marocchino commented 10 years ago

Detail information is below:

$ motion --version
2.27
$ bundle |grep bubble
Using bubble-wrap-http 1.6.0
Using bubble-wrap 1.6.0
$ bundle exec rake spec target=6.1
  WARNING! BubbleWrap::HTTP is deprecated and will be removed, see https://github.com/rubymotion/BubbleWrap/issues/308
  WARNING! Switch to a different networking library soon - consider AFNetworking: http://afnetworking.com/
  WARNING! You can use the 'bubble-wrap-http' gem if you need compatibility: https://github.com/rubymotion/BubbleWrap-HTTP
...
dyld: Symbol not found: _UIActivityTypeAddToReadingList
  Referenced from: /Users/user/Library/Application Support/iPhone Simulator/6.1/Applications/SOME-NUMBER/App_spec.app/App
  Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/UIKit.framework/UIKit
 in /Users/user/Library/Application Support/iPhone Simulator/6.1/Applications/SOME-NUMBER/App_spec.app/App

BTW, I change bubble-wrap version to 1.5.0, this incident not happened.

markrickert commented 10 years ago

Looks like my UIActivityController module is doing this. I'll see if I can fix. There are a few UIActivityType constants that are iOS 7 only.

supermarin commented 10 years ago

Closing in favor of #375