Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Buck on 32bit simulators #115

Closed
rockbruno opened this issue Jul 8, 2019 · 5 comments
Closed

Running Buck on 32bit simulators #115

rockbruno opened this issue Jul 8, 2019 · 5 comments

Comments

@rockbruno
Copy link
Contributor

rockbruno commented Jul 8, 2019

Both in the sample and my real app, Buck apps fails to run in iOS 10 when installing in the simulator: (the sample's target is iOS 11, but I've reduced it to test this out)

An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "com.airbnb.ExampleApp" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: Unspecified.
Underlying error (domain=FBSOpenApplicationErrorDomain, code=1):
	The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)
BUILD FAILED: Cannot launch //App:ExampleApp#dwarf-and-dsym,no-include-frameworks (failed to launch bundle ID com.airbnb.ExampleApp)

The app itself gets installed after this, but trying to run it results in a crash at the splash screen. I was unable to retrieve a log for the sample app, but in my real app this crash happens inside UIKit: [UIView(AdditionalLayoutSupport) nsli_lowerAttribute:intoExpression:withCoefficient:forConstraint:onBehalfOfLayoutGuide:]

Is this something that you guys have dealt with before in your production app?

@rockbruno
Copy link
Contributor Author

This seemed to be a problem with the iPhone 5 simulator. Using iPhone 5s works.

@qyang-nj
Copy link
Collaborator

qyang-nj commented Jul 8, 2019

The minimum iOS version we support is 11, so we didn't see this problem.

@dfed
Copy link
Collaborator

dfed commented Jul 8, 2019

@rockbruno could this be an issue between 32bit vs 64bit? iPhone 5 is 32bit, iPhone 5s is 64bit. Check out this link for a(n impressively) comprehensive list.

@rockbruno
Copy link
Contributor Author

That was it @dfed ! Compiling for #iphonesimulator-i386 did the trick :) Thanks!

@dfed dfed changed the title Running Buck with iOS 10 Running Buck on 32bit simulators Jul 8, 2019
@dfed
Copy link
Collaborator

dfed commented Jul 8, 2019

Woot! I've updated the title to better reflect the underlying issue. Hopefully that'll help the next person 🙂

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

No branches or pull requests

3 participants