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

Xcode 11 beta Crash #6250

Closed
AmrAbedal opened this issue Sep 16, 2019 · 12 comments
Closed

Xcode 11 beta Crash #6250

AmrAbedal opened this issue Sep 16, 2019 · 12 comments

Comments

@AmrAbedal
Copy link

AmrAbedal commented Sep 16, 2019

Terminating app due to uncaught exception 'RLMException', reason: 'Primary key property 'partnerId' does not exist on object 'Partner''
xcode 11 Beta
despite it works in xCode 10.1
dependency manager : CocoaPods

@tgoyne
Copy link
Member

tgoyne commented Sep 16, 2019

What version of Realm are you using? This should have been fixed in 3.16.2.

@abhilashdonepudi
Copy link

Any update on this issue? We have the same issue with XCode 11 GM Seed 2. We are using 3.18.0.

@tgoyne
Copy link
Member

tgoyne commented Sep 19, 2019

Please provide some sort of sample code or repro case for this.

@abhilashdonepudi
Copy link

Do you know if RealmSwift 3.18.0 is ready for XCode 11?

@tgoyne
Copy link
Member

tgoyne commented Sep 19, 2019

Yes, it is built and tested with Xcode 11.

@abhilashdonepudi
Copy link

Just want to give a quick update. Once I comment out the "migrationBlock", I am not getting that error anymore. Any insight into this?

@litaibye
Copy link

Xcode 11 beta Crash

@nirinchev
Copy link
Member

Saying "we get a crash" is far too vague for anyone to meaningfully help you. As Thomas pointed out, 3.18.0 is expected to work with Xcode 11. If it doesn't work for you, providing a project that reproduces the crash or at least instructions on how to reproduce it is the bare minimum that we need to start looking into the issue.

@smelloftime
Copy link

I also encountered the same problem and have solved it.
Xcode11 Version 11.0 (11A420a)
RealmSwift 3.13.1 -> 3.18.0
The processing method is as follows:

  1. Remove 'realm' from 'pod', mask the realm in 'podfile', then 'pod install'
  2. Reinstall the 3.18.0 version of 'realm'
    The project is ok!

@stennie stennie added the T-Help label Sep 30, 2019
@lamatatwany
Copy link

@smelloftime Hi,
what do you mean by "mask the realm in 'podfile'"? how to do so?

@uwemeier-sclable
Copy link

@smelloftime Hi,
what do you mean by "mask the realm in 'podfile'"? how to do so?

put a # in front of pod 'Realm' in your Podfile (i.e. commenting this line out)
After running pod install, remove the # again and run pod install again

@jsflax
Copy link
Contributor

jsflax commented Jun 24, 2020

This should no longer be applicable with Xcode 11 and the 12 beta. Please open another ticket if this persists.

@jsflax jsflax closed this as completed Jun 24, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests