Expo detach ios error


#1

I detached correctly for android project.
Now I try to detach on a mac environmet but when I try to build in Xcode I get this error:

: /Users/Documents/Project/myproject/ios/Pods/Target Support Files/Pods-myproject/Pods-myproject.debug.xcconfig: unable to open file (in target “myproject” in project “myproject”) (in target ‘myproject’)

Any suggestions?


#2

Hey @empy92,

Can you share the contents of your app.json here?

Cheers,
Adam


#3

{
“expo”: {
“name”: “myproject”,
“description”: “version: 0.1.0”,
“slug”: “myproject”,
“privacy”: “public”,
“sdkVersion”: “30.0.0”,
“platforms”: [
“ios”,
“android”
],
“version”: “1.0.0”,
“orientation”: “portrait”,
“icon”: “./assets/icon.png”,
“splash”: {
“image”: “./assets/splash.png”,
“backgroundColor”: “#ffffff
},
“notification”: {
“icon”: “./app/assets/notif_icon.png”,
“color”: “#3c8dbc
},
“androidStatusBar”: {
“backgroundColor”: “#bdbdbd
},
“updates”: {
“fallbackToCacheTimeout”: 0
},
“assetBundlePatterns”: [
“**/*”
],
“ios”: {
“buildNumber”: “1.0.0”,
“bundleIdentifier”: “com.test.myproject”,
“supportsTablet”: true,
“icon”: “./app/assets/icon_ios.png”,
“publishBundlePath”: “ios/myproject/Supporting/shell-app.bundle”,
“publishManifestPath”: “ios/myproject/Supporting/shell-app-manifest.json”
},
“isDetached”: true,
“detach”: {
“androidExpoViewUrl”: “https://s3.amazonaws.com/exp-exponent-view-code/android-v2.8.1-sdk30.0.0-271c32ab-0715-4dfb-8270-ecead3679bb4.tar.gz”,
“iosExpoViewUrl”: “https://s3.amazonaws.com/exp-exponent-view-code/ios-v2.8.4-sdk30.0.0-3de13133-1adc-4ba1-8569-a84011e570b4.tar.gz
},
“scheme”: “exp87c96ca4960f485ea3f6c10d1922d572”
}


#4

I tried to remove pod files and run ‘pud install’
Now I get this:
[23:24:14] Unable to read ExpoKit version from Podfile.lock. Make sure your project depends on ExpoKit. (TypeError: Cannot read property ‘1’ of null)
[23:24:15] Set EXPO_DEBUG=true in your env to view the stack trace.
Command PhaseScriptExecution failed with a nonzero exit code


closed #5

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.