user2931321
user2931321

Reputation: 476

To change bundle identifier using command line (xcodebuild)

I have two bundle identifiers which i need to specify in terminal while generating ipa file. Can anyone suggest me ?

To generate ipa file i have used below command

xcodebuild -exportArchive -exportFormat ipa -archivePath "/Users/xxx/Downloads/Example-MKLocalSearch-master/LocalSearchExample.xcarchive" -exportPath "/Users/xxx/Desktop/LocalSearch.ipa" -exportProvisioningProfile "xxx Development"

here i want to specify bundle identifier. Any suggestions?

Is it possible?

Upvotes: 1

Views: 6331

Answers (1)

user2931321
user2931321

Reputation: 476

solved it by following link How can I use .xcconfig files in Xcode 4?

mentioned bundle identifier in config files

and from terminal: xcodebuild -xcconfig filename

Upvotes: 1

Related Questions