Questions tagged [xcode-project]

xcode project settings and project file issues, including code-signing, build configurations, etc

105 questions
5
votes
2 answers

How can I delete an Xcode workspace?

I've got an Xcode project, in an Xcode workspace. At one point, I thought I wanted a workspace, so I added one, but it turns out I'm not doing anything which can benefit from that, and I'd rather not have that extra layer of complexity. How can I…
WhatsUpNSDoc
  • 99
  • 1
  • 5
5
votes
2 answers

xcode change code signing identity by ruby gem xcodeproj

I'm totally new to Ruby but managed to change the project based code signing identity and provisioning profile in xcode like so: #!/usr/bin/env ruby require 'xcodeproj' xcproj =…
dopcn
  • 4,218
  • 3
  • 23
  • 32
5
votes
1 answer

Ruby xcodeproj throwing `normalize_source_tree': [Xcodeproj] Unrecognized source tree option `Auto` (RuntimeError)

Iam using xcodeproj for adding a static library to my xcodeproject and iam getting an error in the new_file method the error is : normalize_source_tree': [Xcodeproj] Unrecognized source tree optionAuto` (RuntimeError) any help ?
user3115014
  • 667
  • 1
  • 8
  • 23
4
votes
1 answer

Cocoapods post_install, how to add target membership in Pods project

I have a Podfile, that when constructing the Pods.xcodeProj ends up with an included xcframework that is a Pods.xcodeproj file reference, that I need to add as a target reference to one of the pods built targets. I think it's possible to do such a…
Kendall Helmstetter Gelner
  • 74,769
  • 26
  • 128
  • 150
4
votes
2 answers

How does installing cocoapods affect a project?

I have manually linked 4 libraries in a react-native project version 0.59.5, cocoapods are not currently installed and I want to install the react-native-admob package with the pod install. Im wondering what's going to happen to the manually linked…
Jim
  • 1,988
  • 6
  • 34
  • 68
4
votes
2 answers

Build all targets (or schemes) in Xcode project

I have an Xcode project with many targets. Six of them are aggregates which build final release products (static libraries, frameworks) using Run Scripts under Build Phases. I can build them each individually fine, but I can't find any way to hit…
John Bushnell
  • 1,851
  • 22
  • 29
4
votes
2 answers

MIssing icon file in xcodeproj in Yosemite

i have some interesting problem with my Xcode 6.1.1 Blue icon like on xcodeproj files was dissapeared, i already installed new version thousand times but it's not solution. Also i tried to find some topics about it but really nothing!
Genevios
  • 1,115
  • 1
  • 16
  • 29
4
votes
1 answer

Xcode iOS project, how to store dev user/pass without putting in version control

We develop an ecommerce app. For convenience when developing, we want to automatically populate the username & password that corresponds to whatever account we prefer on our ecom servers. The best solution I could come up with so far is: When debug…
jpswain
  • 14,642
  • 8
  • 58
  • 63
3
votes
3 answers

Remove unnecessary frameworks in Xcode project

I have been writing iOS applications and completed a project with a lot of frameworks. Now I am using it as a template to start a new project that requires less functionality and hence I should be able to reduce the frameworks required, and…
topace
  • 1,791
  • 3
  • 17
  • 23
3
votes
2 answers

Failed to load test bundle on Mac M1, found x86_64, required arm64

I'm running Xcode 13.4.1 on an M1 and trying to run the test bundle. What I did: Created a target whose configuration includes the standard architectures as well as x86_64. Excluded architecture arm64 for that target. Made sure 'Build Active…
Frankie Simon
  • 721
  • 1
  • 7
  • 14
3
votes
2 answers

The same operation takes different execution times in two identical projects

I have an app which I am trying to migrate to a new project. There is a heavy operation which I am handling in main thread asynchronously. In my older project, it takes just a second to complete this task but in my new project, it takes 6-7 seconds…
ysnzlcn
  • 558
  • 6
  • 18
3
votes
3 answers

Different bundle identifier for different schemes

I am building an iOS application and I want to set different bundle identifiers for different schemes in Xcode 10. Where do I find that setting?
MihaiBC
  • 472
  • 5
  • 15
3
votes
0 answers

Swift Custom Xcode Project Templates

I'm trying to create Xcode project templates with swift and got bit success but facing issues to load xib file Error popup when xib selected in Xcode: "Interface Builder was unable to determine the type of "ViewController.xib". This may be due to…
RayofHope
  • 1,187
  • 2
  • 14
  • 30
3
votes
2 answers

How to get the target(s) for a PBXFileReference in Xcodeproj

I'm attempting to write a Ruby script that will delete certain files from the Xcode project. I can find the files based on the absolute path and remove them from the project using the remove_from_project method of PBXFileReference. However this…
Steve Wilford
  • 8,894
  • 5
  • 42
  • 66
3
votes
2 answers

Missing Push Notification Entitlement for iOS app

I've just uploaded an app to iTunes Connect and got the "Missing Push Notification Entitlement" warning from Apple. My app does not use any API related to push notifications. The warning also included that I do not have the aps-environment…