pod 'ObjectBox'to the
Podfilein your Xcode project directory.
pod install --repo-update
github "objectbox/objectbox-swift"to your Cartfile
carthage updateto download ObjectBox.
Carthage/Build/iOS/ObjectBox.frameworkto the appropriate targets of your project
gem install xcodeprojand then run the ObjectBox setup script from
Carthage/Build/Mac/OBXCodeGen.framework/setup.rbin your project directory.
'.../ObjectBox.framework/ObjectBox' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.
sudo gem install cocoapodsin Terminal. If you don't have a
cdinto your Xcode project folder and create one using
pod initas usual. Now find the
# Pods for MyTargetNamecomment for each target and add the following below it:
Podfilethat will download the newest release of ObjectBox to your
Podsdirectory and install the pod in your Xcode workspace.
setup.rbwill set up the ObjectBox preprocessor in your project for every target with an executable.
pod installfails)? Try updating CocoaPods related things using:
brew install carthage. If you do not have a Cartfile yet, create a text file named just
.txtsuffix) in your project's folder and write the following text into it
cdinto the folder containing your project and run
setup.rbwill set up the ObjectBox preprocessor in your project for every target with an executable. The
gem install xcodeprojline installs a helper tool needed by the setup script.
Carthage/Build/Mac/ObjectBox.framework(depending on whether your project is for iOS or macOS) to the "Frameworks, Libraries and Embedded Content" list of the "General" tab of your target's settings. Make sure you choose "Embed and Sign" to its right.
ld: warning: Could not find or use auto-linked framework 'ObjectBox' Undefined symbols for architecture x86_64: "type metadata accessor for ObjectBox.ToManyProperty" ...