Skip to content

iOS build fails to run in with Xcode 11.0 beta #25138

Closed
Listed in
@vivekhumnabad

Description

@vivekhumnabad

React Native version:

Steps To Reproduce

1.Create a new react-native project with react-native init ""
2.open iOS project and run

Describe what you expected to happen:
Build and run successfully and show launch screen with default UI

What is happening:
Build shows Error Screen saying -
"Unknown argument type 'attribute' in method -[RCTAppState getCurrentappState:error:].
Extend RCTConvert to support this type

Snack, code example, or link to a repository:
Happens with all my existing projects and newly created samples as well.Here is the sample code I have tried.
FinalTry.zip

Please refer to below screenshot for error data
Simulator Screen Shot - iPhone Xʀ - 2019-06-04 at 12 30 26

NOTE:
Happens only in newly launched MacOS and Xcode 11 beta

Activity

zhongwuzw

zhongwuzw commented on Jun 4, 2019

@zhongwuzw
Contributor

OMG, seems Xcode 11 beta breaks method signature parsing. Now I have no chance to install Xcode beta. @vivekhumnabad Would you mind paste the method selector string for us? just add the NSLog like below.

image

ericlewis

ericlewis commented on Jun 4, 2019

@ericlewis
Contributor

fixed by #25146

vivekhumnabad

vivekhumnabad commented on Jun 4, 2019

@vivekhumnabad
Author

@ericlewis Any idea when this will be released???

ericlewis

ericlewis commented on Jun 4, 2019

@ericlewis
Contributor

@vivekhumnabad needs to be accepted and merged, which shouldn't take long, and after maybe @grabbou wouldn't mind pulling it in to the 0.60 RC, since it is a pretty minor change? :D

ericlewis

ericlewis commented on Jun 4, 2019

@ericlewis
Contributor

@vivekhumnabad its been merged, this will land hopefully in 0.60 or 0.61!

ollyde

ollyde commented on Jul 25, 2019

@ollyde

Would it be possible to get a fix in version precceding 0.60? Say 59?
(0.60 completely breaks a lot of third party packages that are no longer supported)

betko

betko commented on Jul 29, 2019

@betko

@OllyDixon This fix is already part of the 59.9 react-native.

33 remaining items

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @brunolemos@ericlewis@zhongwuzw@ollyde@matwming

        Issue actions

          iOS build fails to run in with Xcode 11.0 beta · Issue #25138 · facebook/react-native