Skip to content
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

Fix the bundle identifier for the library target #23

Merged
merged 1 commit into from Sep 17, 2015
Merged

Fix the bundle identifier for the library target #23

merged 1 commit into from Sep 17, 2015

Conversation

bojan
Copy link
Contributor

@bojan bojan commented Sep 16, 2015

When the framework was included into a project, the target could not be started causing Xcode to show the ambiguous error message:

  • When ran on a device:

    The application does not contain a valid bundle identifier.

  • When ran in the simulator:

    LaunchServicesError Code=0

After observing the device console, the detailed error was:

: __dispatch_source_read_socket_block_invoke:234: Failed to install application at file:///<PATH_REDACTED>/ : Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=MissingBundleIdentifier, ErrorDescription=Bundle at path <PATH_REDACTED>/Frameworks/MapleBacon.framework did not have a CFBundleIdentifier in its Info.plist}

Setting the bundle identifier of the target fixes the issue.

@JanGorman
Copy link
Owner

Thanks for reporting @bojan – how did you include the library into your project: cocoapods, carthage or did you do it manually?

@bojan
Copy link
Contributor Author

bojan commented Sep 17, 2015

@JanGorman Using Carthage. But since it was a value missing in the framework, I believe that it would affect other ways of integration as well.

JanGorman added a commit that referenced this pull request Sep 17, 2015
Fix the bundle identifier for the library target
@JanGorman JanGorman merged commit b3c95f1 into JanGorman:master Sep 17, 2015
@JanGorman
Copy link
Owner

Thanks! Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants