-
Notifications
You must be signed in to change notification settings - Fork 39
fix: mapping build phases with exceptions #122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,8 +8,9 @@ extension PBXTarget { | |
| func bundleIdentifier() throws -> String { | ||
| if let bundleId = debugBuildSettings.string(for: .productBundleIdentifier) { | ||
| return bundleId | ||
| } else { | ||
| return "Unknown" | ||
|
Comment on lines
+11
to
+12
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fly-by fix: The bundle identifier can defined in an xcconfig in which case we don't read it. To properly fix this, we should read and parse xcconfigs to get the correct value. For now, we default to |
||
| } | ||
| throw PBXTargetMappingError.missingBundleIdentifier(targetName: name) | ||
| } | ||
|
|
||
| /// Returns an array of all `PBXCopyFilesBuildPhase` instances for this target. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fly-by fix: if
pathis not valid, we'd throw here. Instead, we default tofalsenow