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

Cocoapod Xcode 9b3 #5116

Closed
ronaldmannak opened this issue Jul 12, 2017 · 2 comments
Closed

Cocoapod Xcode 9b3 #5116

ronaldmannak opened this issue Jul 12, 2017 · 2 comments
Assignees
Labels

Comments

@ronaldmannak
Copy link

Goals

I've used RealmSwift in Xcode 9b2 without a problem, but 9b3 seems to break a few things, even after yesterday's jp-xcode9b3 commit.

Expected Results

RealmSwift working with 9b3

Actual Results

Using the remote master branch will result in a [!] Failed to download 'RealmSwift'. cocoa pods error.

pod 'Realm', git: 'git@github.com:realm/realm-cocoa.git', branch: 'master'
pod 'RealmSwift', git: 'git@github.com:realm/realm-cocoa.git', branch: 'master'

Using local pods, will result in a RLMSyncUtil.h:19:9: 'Realm/RLMConstants.h' file not found compile error.

pod 'Realm', :path => "~/Development/Tools/realm-cocoa"
pod 'RealmSwift', :path => "~/Development/Tools/realm-cocoa"

Version of Realm and Tooling

Realm framework version: master branch

Xcode version: 9b3

@jpsim jpsim added the T-Help label Jul 12, 2017
@jpsim jpsim self-assigned this Jul 12, 2017
@jpsim
Copy link
Contributor

jpsim commented Jul 12, 2017

You can pull in a custom Realm source via CocoaPods by specifying the following in your Podfile:

pod 'Realm', git: 'git@github.com:realm/realm-cocoa.git', branch: 'master', submodules: true
pod 'RealmSwift', git: 'git@github.com:realm/realm-cocoa.git', branch: 'master', submodules: true

So you're just missing the submodules: true bit.

@ronaldmannak
Copy link
Author

yep, that was it. Thanks JP!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants