I have an app called "name", and I go to File > New Target in Xcode, and chose a sharing extension, but when I try to give it a name which is identical to the app(container) name, I get an error message :
The project “name” already contains a target named “name”. Please choose a different name.
But obviously I want your app name and extension name to be the same, (like other app extensions such as Pocket).
The extension name that I chose is the name that actually appears on the extension menu, and not the container app name .
How would I give them the same name?
With Android everything is simpler! You cannot reserve a name but you can have multiple apps with the same name. So no need to reserve the name – you can definitely use it. Whether or not you want to have the same name as other apps is another question…
An app extension lets you extend custom functionality and content beyond your app and make it available to users while they're interacting with other apps or the system. You create an app extension to enable a specific task.
An . ipa file is an iOS and iPadOS application archive file which stores an iOS/iPadOS app. Each . ipa file includes a binary and can only be installed on an iOS, iPadOS, or ARM-based macOS device.
create a share extension with different name , in info.plist
of share extension change the bundle display name to your app name.
It's not saying that you can't have an extension of the same name. It says you can't have a target with the same name.
Create the target with a sensible name. How about "App Extension"?
Then in the Info.plist for the extension, you can give it the display name that you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With