Open savytskyi opened 5 years ago
Just to rule other things out. Can someone try Xcode 10.0 on High Sierra with RM 5.14 (last RM stable release)?
I downloaded the rubymotion-bug repo
macOS: 10.13.6 (17G3025) rubymotion: 5.14 Xcode: Version 10.0 (10A255)
Apart form having to add the following it all worked fine. app.info_plist['NSAppTransportSecurity'] = {'NSAllowsArbitraryLoads' => true}
I then tried rake clean:all
and rake pod:install
and it is still good.
as an aside, why do people include vendor/Pods
in their repos?
I'm working off my own repo (I shared it with you Amir, swapi-potion). 5.14 works fine. 5.15 does not.
And I've even confirmed it's not something squirrelly with AFMotion gem itself. I removed that gem and just coded directly against the AFNetworking pod, and it works in 5.14 and fails in 5.15. Perhaps this is a CocoaPods problem?
Anyway, mine fails without a traceback, but I'm attaching the crashlog I got. Keeping in mind, this crashes when I run a command at the REPL that is making an HTTP request with AFNetworking (here is the branch/file https://github.com/wndxgroup/swapi-potion/blob/afmotion-crash-515/app/models/swapi_store.rb). crash.log
Here's a fork of @savytskyi's repo stripped down, and only using AFNetworking. Same. 5.14 works, 5.15 is busted. https://github.com/wndxlori/rubymotion-bug/tree/afnetworking-version
Oh, ya. High Sierra.
Just for laughs, I updated AFNetworking pod to latest, greatest version - 3.2. Same result.
OS: Mojave Ruby version: 2.5.3 (however tested on 2.4.x and 2.3.7, same problem) RM: 5.15 beta 2 Example repo: https://github.com/savytskyi/rubymotion-bug
Problem: app compiles well, but started to crash in weird places when it never crashed before. For example, when using 3rd party libraries like AFMotion: