Post

Replies

Boosts

Views

Activity

Preventing app from installing on iPad.
Hello, The app that I am working on has capabilities where it needs Phone App to place a call. The app has never been published to App Store before and will be publishing soon after making the configuration changes to prevent it from installing on iPad. I went through Apple documentation and while I understand that Apple expects apps to be allowed to installed on as many device sizes as possible, this app needs Phone app and hence I wanted to prevent it from getting installed on iPad, just like Whatsapp does. In Xcode, I only have iPhone in supported destinations and I also added "Required device capabilities" in Info.plist with values as arm7, Camera flash (since the app uses torch) and Phone App. However, when I sideload the app on iPad, I am able to install the app (looks like emulated iPhone) instead of getting an error. Are there any other changes that I need to make to prevent installation of the app on iPad?
0
0
140
1w
Releasing iPhone only app.
Have a new app that we plan to release to the App Store and we want to support it only on iPhone for now. We have removed all the supported destinations in app's target -> general settings and it only has iPhone now. Please note that this app has never been released to app store before. We do plan to add iPad support in upcoming releases. For this first release of our app, will the end user be still able to download the app on iPad in compatibility mode? Or what would be the behavior when the user would search for my app on iPad?
0
0
163
2w
Name of .xcdatamodel gets cleared out automtically from pbxproj file.
I have added core data to my project and below is the code block of how it's section in pbxproj file looks like. However whenever I make any changes to the project i.e. changing build version or adding a deleting new files to the project, I have noticed "name = "sample-app.xcdatamodeld";" gets deleted automatically from the project file and I have to manually reverse that change. Am I missing any setting for core data or is it a bug somewhere in XCode or Core Data? I am using XCode 15. /* Begin XCVersionGroup section */ 4683EC5B2C10F8B800A5081B /* sample-app.xcdatamodeld */ = { isa = XCVersionGroup; children = ( 4683EC5C2C10F8B800A5081B /* sample-app.xcdatamodel */, ); currentVersion = 4683EC5C2C10F8B800A5081B /* sample-app.xcdatamodel */; name = "sample-app.xcdatamodeld"; path = "sample-app.xcdatamodeld"; sourceTree = "<group>"; versionGroupType = wrapper.xcdatamodel; }; /* End XCVersionGroup section */
5
0
634
Sep ’24