mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
Link iOS CV model files in a build phase
iOS bundle files *must* be referenced in the xcode projects, which means that updating the filenames in .env is not enough, you also have to add them to the xcode project. This attempts to simplify this by assuming the named files in the xcode project remain the same, but they are actually hard links to the files specified in .env.
This commit is contained in:
@@ -17,7 +17,11 @@ E2E_TEST_PASSWORD=test-password
|
||||
|
||||
GMAPS_API_KEY=some-key
|
||||
|
||||
# Model file names for Android and iOS
|
||||
# Model file names for Android and iOS. See the README for instructions on
|
||||
# where to put these files. Note that in iOS, we have an additional build
|
||||
# phase in xcode to hard link these files using file names xcode knows about,
|
||||
# so we don't have to add these files to xcode in addition to declaring them
|
||||
# here.
|
||||
ANDROID_MODEL_FILE_NAME=small_inception_tf1.tflite
|
||||
ANDROID_TAXONOMY_FILE_NAME=small_export_tax.csv
|
||||
IOS_MODEL_FILE_NAME=small_inception_tf1.mlmodel
|
||||
|
||||
Reference in New Issue
Block a user