Modify PRODUCT_BUNDLE_IDENTIFIER in project.pbxproj of Xcode

后端 未结 1 1395
小鲜肉
小鲜肉 2021-01-18 08:37

I\'m trying to modify the project.pbxproj file of Xcode project using sed shell command on Mac Terminal to replace a string. I want to replace the

相关标签:
1条回答
  • 2021-01-18 08:55

    OSX requires the extension to be explicitly specified. The workaround is to set an empty string:

    sed -i '' 's/com.example.71b94f2/com.example.14a32d1e/g' project.pbxproj
    
    0 讨论(0)
提交回复
热议问题