1. 程式人生 > >iOS 多個target時候執行報錯

iOS 多個target時候執行報錯

多個target真機執行報錯 This applicationor a bundle itcontains has the same bundle identifier as this applicationor another bundle thatitcontains. Bundle identifiers must be unique.

今天搞了個上午才弄明白,記錄下。我遇到的情況是多個target用的Bundle identifier一樣了,拓展的target用的Bundle identifier應該是app本身Bundle identifier.拓展target名。不能與app的Bundle identifier同名。需要在後面加拓展名