xcode project settings and project file issues, including code-signing, build configurations, etc
Questions tagged [xcode-project]
105 questions
                    
                    29
                    
            votes
                
                2 answers
            
        Undefined symbols for architecture armv7 for Cocoapods libraries
I stumbled upon a problem on a project that I need to work on. The project use Cocoapods for managing its libraries. I run pod install as usual to get started but xcode give me errors. I got Undefined symbols for architecture armv7 as you can see in…
         
    
    
        Faiz Mokhtar
        
- 938
- 1
- 10
- 24
                    21
                    
            votes
                
                4 answers
            
        Integrating pods with all targets
I have been using CocoaPods for a few weeks now with my iOS app and it works perfectly with the one target I have been testing (let's call it "MainApp"). However, I now want to build a different target ("MyAppLite") and noticed that the build failed…
         
    
    
        colincameron
        
- 2,696
- 4
- 23
- 46
                    20
                    
            votes
                
                3 answers
            
        What tools support editing project.pbxproj files?
I want to edit project.pbxproj straight up using command line (for CI server script)
what tools can allow me to do this?
I used to use PlistBuddy to edit the output Info.plist; however, what i really want to do is to edit this user defined field,…
         
    
    
        David T.
        
- 22,301
- 23
- 71
- 123
                    19
                    
            votes
                
                5 answers
            
        iOS - git merge conflicts after adding cocoapods to project
I'm working on an app with another partner. He's been working on master, and I started a new branch. On my branch I installed cocoapods. I just tried pulling from master and I'm getting merge conflicts.
When I open up Xcode, the workspace file has…
         
    
    
        user3344977
        
- 3,584
- 4
- 32
- 88
                    14
                    
            votes
                
                2 answers
            
        Removing unused frameworks in Xcode?
Over time when you develop an application you add new libraries to it, new frameworks needed for the libraries to work. Then you remove libraries and if you are like me you have forgotten to remove the frameworks that you initially added.
Is there a…
         
    
    
        Peter Warbo
        
- 11,136
- 14
- 98
- 193
                    14
                    
            votes
                
                1 answer
            
        Specific associated domains for multiple targets in the Xcode project
I have several targets in Xcode. Everytime I change the domains in the target`s setting:
Targets - Target name - Capabilities - Associated Domains
then this change is propagated also to the setting of the other targets.
To me it seems like a bug in…
         
    
    
        Vladimír Slavík
        
- 1,727
- 1
- 21
- 31
                    13
                    
            votes
                
                5 answers
            
        Git not able to recognise addition of .xcscheme files in xcode project
Added a new scheme corresponding to a test target in my xcode project. The new xcscheme file created is not getting reflected in git. Also doing a git status shows me nothing to commit, working directory clean . 
Trying to add it through terminal by…
         
    
    
        Shane D
        
- 834
- 9
- 23
                    10
                    
            votes
                
                1 answer
            
        How to disable Xcode indexing for certain files or subproject?
We have a quite large project, which contains both Objective-C and C++ files. All of the C++ files are used during build, but only some of them are ever opened using Xcode, and there are lots of them that should never be opened at all. But Xcode…
         
    
    
        mike
        
- 141
- 4
                    10
                    
            votes
                
                2 answers
            
        Why isn't my cocoapods post_install hook updating my preprocessor macros?
I've been going round and round for a couple days now trying to figure out why my post_install hook isn't producing the output I'm expecting. Here's my Podfile:
source 'https://github.com/CocoaPods/Specs.git'
target "SCCommon" do
  platform :ios,…
         
    
    
        Lee Fastenau
        
- 444
- 3
- 14
                    9
                    
            votes
                
                2 answers
            
        How to get Travis CI to build and test xcode projects hosted on Github?
I have some open source code hosted on github for adding a block based category to UITextField. I have added a .travis.yml file to get travis CI to build and run the code on every push. Link to The Travis CI warning . It successfully builds the…
         
    
    
        bogen
        
- 9,954
- 9
- 50
- 89
                    7
                    
            votes
                
                1 answer
            
        iOS cordova project - Group plugin files in folder under Plugins/
I'm writing a cordova ios plugin, I managed to set the plugin.xml file correctly in order to work and import my plugin inside the project with
cordova plugin add myplugin --searchpath=path/to/my/plugin --save
command. What I'd like to do now is to…
         
    
    
        BeNdErR
        
- 17,471
- 21
- 72
- 103
                    5
                    
            votes
                
                8 answers
            
        The document project.xcworkspace could not be opened
I am having trouble opening basically all my .xcodeproj on my mac. However, when I clicked on show contents of my xcode proj I can see the xcworkspace file but I can't open it. I wonder if anyone knows how to fix it?
Thanks
okay I can't post img…
         
    
    
        Erin
        
- 83
- 1
- 9
                    5
                    
            votes
                
                1 answer
            
        How to disable Bitcode on Carthage dependencies
How to disable Bitcode on dependencies where it's enabled?
This question is the opposite scenario of the question "Bitcode disabled on Carthage dependencies". Unfortunately, while the given answer by the OP was using a nice trick by stripping all…
         
    
    
        Cœur
        
- 37,241
- 25
- 195
- 267
                    5
                    
            votes
                
                1 answer
            
        Classes in Swift files inside folder references not seen by Xcode 10's compiler
We have a project with nearly 1K Swift files. It just works well if everything is inside groups, but when trying to add some folder references to directories that contain Swift files, the compiler just can't see any thing defined inside these files…
         
    
    
        nbloqs
        
- 3,152
- 1
- 28
- 49
                    5
                    
            votes
                
                3 answers
            
        ' No account for team 'LXxxxxxxx' ' build error on Xcode 9.4
I am cloning a Xcode project from github and is my first experience with Xcode projects. 
I tried simulating on Mac for a device (say iphone SE) and it works fine. However, when I connect a iphone and try to build the project on the target device as…
         
    
    
        lamo_738
        
- 440
- 1
- 5
- 15