Questions tagged [pbxproj]

33 questions
32
votes
5 answers

Getting a (null) reference in the Xcode pbxproj file

Upon updating/bumping up the version and the build # in Xcode version 9.1, I saw the following upon doing git diff diff --git a/star.xcodeproj/project.pbxproj b/star.xcodeproj/project.pbxproj index c4601526..8fa3c762 100644 ---…
Dee-Bha
  • 439
  • 1
  • 4
  • 8
14
votes
1 answer

Xcode: What is LastUpgradeCheck?

I did a git diff and saw in Project.xcodeproj/project.pbxproj: attributes = { BuildIndependentTargetsInParallel = YES; + LastUpgradeCheck = 0420; }; What's LastUpgradeCheck? Maybe I accidentally opened up the project…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
9
votes
4 answers

Can duplicate file references in XCode's project.pbxproj files be safely removed?

My company's iPhone/ipad product has migrated through several generations of iOS and Xcode (now at 5.1 and 4.3), and has many targets. Perhaps because of these factors, there are many identical lines for each source file in the PBXBuildFile section,…
Taryn
  • 1,670
  • 1
  • 15
  • 22
8
votes
1 answer

PBXBuildFile vs PBXFileReference section

What is the difference between PBXBuildFile and PBXFileReference in project.pbxproj? Does it matter if a file is listed in both of the sections? What is the policy what file in which section should get? /* Begin PBXBuildFile section */ …
János
  • 32,867
  • 38
  • 193
  • 353
7
votes
0 answers

In an Xcode iOS .pbxproj file, how are the 12 byte ids generated?

If you open up the .pbxproj file in a text editor, you'll see things that look like: /* Begin PBXBuildFile section */ 25AF71181D2046B400566BC8 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25AF71171D2046B400566BC8 /*…
Evan Conrad
  • 3,993
  • 4
  • 28
  • 46
6
votes
2 answers

FreeSWITCH minimal installation and module selection

As someone who is very new to the opensource PBX projects like Asterisk and FreeSWITCH, I am grappling with some information overload. Have read the basic FreeSWITCH docs on Wiki, but still have few questions. Since I am not very familiar with the…
jay
  • 203
  • 3
  • 7
5
votes
1 answer

Ruby modify project.pbxproj

i'm making a script that modifies an iOS project automatically with ruby. After adding some files, I need modify the project.pbxproj file to save the changes in the project. I've find a method to parse pbxproj file to json: json = JSON.parse(`plutil…
user1573607
  • 522
  • 9
  • 23
4
votes
0 answers

Xcode pbxproj file's structure got changed

For some reason - maybe has to do with a latest Xcode upgrade to version 7.2.1 - my pbxproj's structure got changed, and because of that, when I'm about to merge a PR, it just shows me a one big conflict on the entire file. The reason, as I see it,…
ofer2980
  • 464
  • 5
  • 26
3
votes
2 answers

How to change manually project.pbxproj file in Xcode during React-native upgrade?

I need to upgrade my React-native app from 0.61.0 to 0.62.0. The best safety way to do it manually with React Native Upgrade Helper https://react-native-community.github.io/upgrade-helper. But during this way a lot of changes need to do in…
jocoders
  • 1,594
  • 2
  • 19
  • 54
3
votes
2 answers

When Xcode opens the last project on launch it's listed in red with no files

When I open Xcode it automatically opens the last projects that were open when it quit. I have one .xcodeproj that gets displayed in red in the Project navigator and there are no files visible for the project. I am not able to compile the…
runmad
  • 14,846
  • 9
  • 99
  • 140
3
votes
1 answer

References to Removed Framework in project.pbxproj File

I recently removed a framework from my iOS project and am installing it instead through a dependency manager (CocoaPods). I noticed, however, when checking my changes in to source control that some references to the framework were removed, but one…
JAL
  • 41,701
  • 23
  • 172
  • 300
3
votes
1 answer

Old-style plist linter

I am writing an application that generates .xcodeproj files. It's generated a .pbxproj file, however when opening it in Xcode, I get an error message, "cannot be opened because the project file cannot be parsed." and nothing more. Is there a…
bobbybee
  • 1,758
  • 1
  • 16
  • 27
2
votes
1 answer

Under iPhone SDK are you supposed to checkin project.pbxproj into source control?

I have been using SCM for myself, but now I am working in team-of-two :) It appears that we are having conflicts on project.pbxproj and I think it is because that file should not be put under source control. Is that file for personalizing one's…
mobibob
  • 8,670
  • 20
  • 82
  • 131
2
votes
0 answers

Regenerate project.pbxproj file

I deleted my pbxproj file in my Xcode project, and I cannot recover it with version control or file system utilities. Is there a way I can regenerate it from the files I have in my project? All of my Swift classes are there, as are my XML files. …
2
votes
0 answers

React Native: do you ever have to upgrade `project.pbxproj` manually?

I'm following the instructions in rn-diff-purge on how to downgrade your React Native version, and I'm looking at this particular set of differences between two versions. One of the files that has most differences is project.pbxproj. I don't know…
gkeenley
  • 6,088
  • 8
  • 54
  • 129
1
2 3