Skip to content

Commit 817b502

Browse files
authored
Merge pull request mendix#6505 from jdiehl/patch-12
Update native-build-locally.md
2 parents c71170b + 8220b49 commit 817b502

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

content/en/docs/refguide/mobile/distributing-mobile-apps/building-native-apps/native-build-locally.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,14 @@ To build an iOS app with XCode, do the following:
119119

120120
1. If you have not ran it yet, run `npm install` (for NPM v7 and above run `npm install --legacy-peer-deps`) in the app root to install the required dependencies.
121121
1. Also run `npm run configure` to apply the configuration from the Mendix Native Mobile Builder to the app.
122-
1. Change directory by running `cd ios` and run `pod install` to install the iOS dependencies.
122+
1. Change directory by running `cd ios` and run `pod install --repo-update` to install the iOS dependencies.
123123

124-
The iOS app is using CocoaPods for its dependency management. For more information on installing the CocoaPods dependency manager on your machine see CocoaPods [documentation](https://cocoapods.org/#install).
124+
The iOS app is using CocoaPods for its dependency management. For more information on installing the CocoaPods dependency manager on your machine see CocoaPods [documentation](https://cocoapods.org/#install). If you are using an M1 machine, make sure to first [install Rosetta](https://support.apple.com/en-us/HT211861) and then [install CocoaPods via Homebrew](https://formulae.brew.sh/formula/cocoapods).
125+
126+
{{% alert color="warning" %}}
127+
If you encounter the following error while executing CocoaPods on an M1, reinstall CocoaPods as described above and try again:
128+
`LoadError - dlsym(0x7f8926035eb0, Init_ffi_c): symbol not found`
129+
{{% /alert %}}
125130

126131
1. Open *.xcodeworkspace* using XCode.
127132
1. Navigate to **Signing and Capabilities** and choose your **Team** from the drop-down menu:

0 commit comments

Comments
 (0)