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

Duplicate identifier on iOS / tvOS #93

Closed
skrew opened this issue Jul 7, 2021 · 4 comments
Closed

Duplicate identifier on iOS / tvOS #93

skrew opened this issue Jul 7, 2021 · 4 comments
Assignees
Labels
apple Affect Apple platforms bug Something isn't working fixed-in-v4.5 Fixed in release v4.5 scripts Affect build scripts v4.4 Affects v4.4 release

Comments

@skrew
Copy link

skrew commented Jul 7, 2021

Hi,

Using ffmpeg-kit (with master), building libraries with --libgnutls and --xcframework, result to have duplicate identifiers:

libhogweed.xcframework/ios-arm64_x86_64-simulator/libhogweed.framework/Info.plist:	<string>com.arthenica.ffmpegkit.Nettle</string>
libhogweed.xcframework/ios-arm64/libhogweed.framework/Info.plist:	<string>com.arthenica.ffmpegkit.Nettle</string>

libnettle.xcframework/ios-arm64_x86_64-simulator/libnettle.framework/Info.plist:	<string>com.arthenica.ffmpegkit.Nettle</string>
libnettle.xcframework/ios-arm64/libnettle.framework/Info.plist:	<string>com.arthenica.ffmpegkit.Nettle</string>

libhogweed have the same bundle identifier as libnettle, which cause an error while building with Xcode:

Unable To Install “xxx”
Domain: IXUserPresentableErrorDomain
Code: 1
...
Domain: MIInstallerErrorDomain
Code: 57
User Info: {
    FunctionName = "-[MIInstallableBundle performPreflightWithError:]";
    LegacyErrorString = DuplicateIdentifier;
    SourceFileLine = 417;
}
@tanersener tanersener added the needs-analysis We don't know that this is. It must be investigated further label Jul 8, 2021
@tanersener
Copy link
Collaborator

It seems like there is a problem there but I don't understand why it blocks your builds. These binaries were tested many times and I haven't seen this error before.

@tanersener tanersener added apple Affect Apple platforms v4.4 Affects v4.4 release scripts Affect build scripts labels Jul 8, 2021
@skrew
Copy link
Author

skrew commented Jul 8, 2021

It's maybe a Xcode 13 "new feature"...
BTW editing the plist fixes the error, so it's not an urgent bug fixes until september

Also note, i got this error at installation on a real device, not at build time !

@tanersener
Copy link
Collaborator

All light, will look into this when I have time.

@tanersener tanersener self-assigned this Jul 8, 2021
@arthenica arthenica deleted a comment from github-actions bot Sep 7, 2021
@tanersener tanersener added bug Something isn't working and removed needs-analysis We don't know that this is. It must be investigated further labels Sep 16, 2021
@tanersener
Copy link
Collaborator

Fixed in the development branch.

@tanersener tanersener added the fixed-in-v4.5 Fixed in release v4.5 label Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple Affect Apple platforms bug Something isn't working fixed-in-v4.5 Fixed in release v4.5 scripts Affect build scripts v4.4 Affects v4.4 release
Projects
None yet
Development

No branches or pull requests

2 participants