question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS `exp detach` should update all occurrences of com.getexponent in the .xcodeproj

See original GitHub issue

Hi everyone,

Config

exp: 42.2.0
sdk: 18.0.0

Problem

I am trying to detach my app to use fastlane and automate the deployment process. But when I detach my application by running exp detach, the App Identifier identified by fastlane is com.getexponent.productinuse, with productinuse being the slug in the app.json.

I thought that maybe it was a fastlane issue and it was taking a wrong identifier, but when I open my project in Xcode, it’s looking for a profile for the app id com.getexponent.productinuse. image

Why is Expo not using the bundleIdentifier of the app.json ? Is there any property I missed in the configuration file ?

In my app.json:

"ios": {
  "bundleIdentifier": "com.productinuse.demo",
  "buildNumber": "14",
  "config": {
    "usesNonExemptEncryption": false
  },
  "isRemoteJSEnabled": true,
  "supportsTablet": true
},
"android": {
  "package": "com.productinuse.demo",
  "versionCode": 14
},

Thank’s ✌️

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aidanwcommented, Aug 1, 2017

I did this as a step in my Fastfile. (thanks @xavier-villelegier for pointing me here from my Stackoverflow question!)

sh “sed -i ‘’ ‘s/com.getexponent.allotmentlab/com.foam.allotmentlab/g’ ‘…/…/ios/allotmentlab.xcodeproj/project.pbxproj’”

0reactions
terriblebencommented, Aug 11, 2017

This is fixed on master, will go in the pipeline for release: https://github.com/expo/xdl/commit/192acebc37f71376be4397da6d7d10dce19d062b

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I regenerate ios folder in React Native project?
Run $react-native link for any native dependency. ... This will regenerate your android and ios folders Finally upgrade back to 60.3
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found