Skip to content

Conversation

@hmedney
Copy link
Collaborator

@hmedney hmedney commented Sep 27, 2016

hi @alinz, proposing a change to the xcode build settings to set the IOS Deployment target to 8.0. This aligns with the RN project template and the supported IOS versions in RN (8.0+). The previous deployment target was 9.1, and I wanted to see if you had a reason for that value before changing.

Reason for change was apps using the webview bridge in IOS 8.x simulators in XCode 8 would hard crash with a _objc_unsafeClaimAutoreleasedReturnValue error. Per this SO post, this can happen if a sub-project has a deploy target higher than the parent project.

avoids _objc_unsafeClaimAutoreleasedReturnValue error in xcode 8 when launching older versions of IOS
@hmedney hmedney changed the title Align deploy target with RN template Improve compatibility with IOS 8 Sep 27, 2016
@alinz
Copy link
Owner

alinz commented Sep 27, 2016

@hmedney I made it though by accident. Good catch, let's get this one in. I'm working on v2 branch so, everything there are experimental so for now don't bother look into it until I make a PR.

@hmedney hmedney merged commit cab93e4 into alinz:master Sep 27, 2016
@shirleyYing
Copy link

have you update this chage to npm ?

@jasongaare
Copy link

@alinz can you please push this to npm? Causing serious errors on our app in iOS 8

@pampang
Copy link

pampang commented Nov 22, 2016

@alinz please publish this new commit to npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants