How to add a parent path to RealmSwift.framework in the "Search Paths in Framework" section?

This step is listed in the Realm installation instructions. link here: https://realm.io/docs/swift/latest/

I am new to xcode and I do not understand how to complete this step. Can someone give me detailed instructions? I found the section "Search Paths in View" in the build settings, but I donโ€™t even know what it means to add a parent path.

I also need help in the next step, creating a new phase of the script.

xcode ver 6.4

+3
source share
1 answer

If you correctly follow the second step, the project directory will look like this:

enter image description here

. , unit test Realm, - , . , , . (, Framework Search Paths . Xcode, 2.)

Framework Search Paths unit test, :

  • " " Xcode
  • unit test ""
  • " "
  • " "
  • " Framework"
  • "+"
  • $(PROJECT_DIR) ( " " - , . , $(PROJECT_DIR).)
  • "enter",

, :

enter image description here

3. 4:

  • ""
  • " ".
  • "+"
  • "New Run Script Phase"

enter image description here

  1. " Script",
  2. bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework/strip-frameworks.sh"

enter image description here

4 , App Store.

+22

Source: https://habr.com/ru/post/1627923/


All Articles