Appcelerator 4.7 'Bundle identifier is missing.' error - titanium

I'm using Appcelerator Titanium 4.7. When I try to run my app on IOS Device, I'm getting the following error:
Bundle identifier is missing
How can i fix this problem?

Titanium 4.7? Can you make a bit clear of what are you using? Like your macos, xcode version, and Titanium SDK?
But, it seems to be a problem with your certificates and Apple developer account. More than that, with your app id!
Open your tiapp.xml file and go to the <id> node.
It should start like <id> than has your app ID (usually your domain name in reverse) + </id>. Suppose your app is called Best App and your domain is www.eren.com. So your app id will be something: com.eren.bestapp. Your id tag on tiapp.xml file will be <id>com.eren.bestapp</id>.
Double check it.
If this is correct, than check your App Id on your Apple developer account. Make sure the one in the provisioning profile is the same as your app id on tiapp.xml

Related

Apple developer: How to generate App Id

I have a app for mobile that is build using AppPresser plugin of WordPress. To generate apk or ipa file I am using Phonegap Build site that provide facility to upload zip folder with source code and returns the .apk and .ipa files for Android and Apple.
Now, I am getting .apk file properly for Android but to get .ipa file, this phonegap require the apple account integrated with it.
So, to integrate this account I have generated .p12 file and now trying to get provisioning profile file. I am on the page of Register an App ID of apple and get stuck at first field of Name. Please check below image.
First part of name is Team Id and second part is Bundle ID. I have googled and checked many docs. Found how to get bundle Id. It can be get from emulator of project on MAC machine.
But my problem is that, I am not developing project through MAC, so how would I get this bundle ID to complete this field with correct value ?
Please help.
You have to add your app name their .
eg :- Whatsapp.
Don't add bundle id in the name of the app.

Uploading a tvOS application to iTunes Connect fails

The news section in iTunes Connect says:
You can now create and upload apps for the App Store on Apple TV
I've tried and got this error:
I've added a new tvOS target to an existing App, which is already available in the App Store. Both targets (iOS, tvOS) are using the same bundle identifier.
Does anyone have an idea of what went wrong or has anyone been able to successfully submit a built to iTunes Connect? The error message is not helpful.
use the "Application Loader.app" of the current Xcode Beta to upload your binary.
Works for me.

Installing the app Extension to the device?

I am trying to install my application extension on my iPhone device, but I am getting the following error:
This application or a bundle it contains has the same bundle identifier as
this application or another bundle that it contains. Bundle identifiers must be unique.
The app container have the bundle id: com.companyName.AppName and the bundle identifier for the app extension is com.companyName.AppName.WidgetApp.
I have tried to sign the extension with the same provisioning, also I have installed a different AppID from the apple developer site and new provisioning profiles for the App Extension and Also tried to set the signing for the extension Widget to Automatic but still the same error and the app cannot be launched on the device.
What should i do in order to install my application extension to the device?
Here are screenshots of my General Tab for both my app and the Extension:
App:
Extension:
Thank you.
Executing a clean command worked for me.
This is done through the XCode menu item; Product > Clean or SHIFT + COMMAND + K
I had this exact problem and it was due to having a duplicated framework included in the build. I had included both a test and non-test version of the same dynamic framework. Once I removed one, the installation proceeded as expected.
I'm sharing this in the hopes that it will help someone else in case they encounter this particularly obscure situation.
In Swift :
If you installed pods then you have to change bundle identifier as org.cocoapods.podName in general identity. Make sure deployment target of all pods should be same to the project’s deployment target.

Could not load the "TweetSheetLocationArrow.png" image... Twitter/Social Framework for iOS

I am using Twitter and Social framework in my app for iOS. I have been using the same frameworks for days now without any issues. However, today when I run the app in the simulator (haven't changed any Twitter or Social specific code), I get the following error as I try to send a tweet from my app:
Could not load the "TweetSheetLocationArrow.png" image referenced from a nib in the bundle with identifier "com.apple.sociald.Social"
Any idea what's this problem is related to and how can I fix this?
The tweet sheet wants the resource "TweetSheetLocationArrw.png" at runtime from a nib bundle with the bundle identifier specified ( if that doesn't mean anything to you google "apple bundle programming guide" ) and it is either unable to read the resource, or the resource no longer exists.
Ignore it. It's a missing image asset in the device simulator and is harmless.

Xcode 4.3 - error: no identities were available

Please, help me.
I would like to put an App in the IOS App Store but always receive this error message (Xcode4.3)
"No identities are available for signing"
Connect to IOS Center, Xcode can obtain identities from the IOS Dev Center...
What do I make wrong??
When you have your project open in Xcode there's a section called Code Signing. Click the first drop-down menu and you should see a list of identities, you should see at least one iPhone Developer and iPhone Distribution identity. If you don't an iPhone Distribution identity, or it is under the "identities without Provisioning profiles" subheading, you can resolve this in iOS Dev Center.
Go to iOS Dev Center > iOS Provisioning Portal > Provisioning > Distribution. You could have an expired profile, if so just modify and re-save it. If there is no profile then click New Profile. Then you should see the new iPhone Distribution identity in Xcode which you can now choose.
For me, it was the bundle identifiers that conflicted. Make sure the bundle identifier specified in Xcode > Targets > Info > Bundle Identifier matches the one you registers as App Id in IOS Dev Center > Provisioning Portal > App Ids. Hint can be found in Xcode > Targets > Build Settings > Code Signing, you just need to make the bundle identifiers match.
I was running into a problem where everything appeared to be fine (none of the certificates were expired), but Xcode was giving me that error message. However, once I downloaded and installed the .mobileprovision file it worked correctly. For some reason the Xcode automatic download wasn't working correctly.
i got the same error, when the scheme for archiving was set to "release" instead to "distribution".
Click "Manage Schemes" in XCode then "Edit..." to verify your settings.
I just renewed my iOS Developer membership. And this problem drove me crazy as I wanted to submit my app.
to Developer portal
iOS provisioning profiles
Select (your) Distribution Profile
Edit --> select the correct App ID
Generate and download it