xcodeproj Questions

2

Solved

When I want to delete file in Xcode. Between "move to trash" and "remove reference" which one should I choose? I always choose move to trash before cause I thought it will definitely delete the re...
Antecedency asked 24/5, 2012 at 15:3

3

According to this guide, there should be an App Sandbox capability in the project file: However, for some reason my app project does not have any App Sandbox capability that I can turn on: Wh...
Moldavia asked 25/3, 2019 at 20:51

2

Solved

I'm trying to write Cocoapods specification for my library which must modify Xcode project and add "Run Script Build Phase" to project's target. I thought I can use post_install hook. But "pod spec...
Pink asked 19/11, 2013 at 13:33

1

Solved

I am able to run my app on simulator. On real device however, I am asked to give my keychain password, whereafter the build fails with Command PhaseScriptExecution failed with a nonzero exit code ...
Dhoti asked 15/3, 2021 at 0:25

1

Solved

Xcode keeps crashing whenever I try to run any .xcodeproj or .xcworkspace project. Solutions I've tried are: reinstalling Xcode, deleting derived data, and deleting xcuserstate folder. Xcode keeps ...
Plesiosaur asked 13/3, 2021 at 11:1

3

I'm setting up a new project with pods. Where do I need to set the path for below error -resources.sh: line 7: realpath: command not found
Greeting asked 12/6, 2019 at 9:41

2

Is there a way to remove files from or add files to a XCode project without using XCode? That is, is there any terminal command or program to do it? I know I can do cp mv and rm to add / remove fil...
Bernstein asked 26/3, 2014 at 1:0

1

I know this is a rather trivial question, but I seem to be having the worst time with this. I've tried : obj = Xcodeproj::Project::Object::PBXCopyFilesBuildPhase.new(PATH, 10) target.build_phase...
Evin asked 19/12, 2015 at 3:45

1

Solved

I wrote some ruby script, that uses CocoaPods/Xcodeproj to edit xcode project file. This script executes from xcode build phase script: ruby script.rb someProj.xcodeproj Inside ruby script, the...
Scrotum asked 7/1, 2017 at 19:46
1

© 2022 - 2025 — McMap. All rights reserved.