mpvkit / MPVKit

mpv library for iOS, macOS, tvOS applications
GNU Lesser General Public License v3.0
37 stars 14 forks source link

Libshaderc has an invalid CFBundleIdentifier #7

Closed bryandunbar closed 2 months ago

bryandunbar commented 2 months ago

I'm trying to use the LGPL version but am getting This bundle is invalid. The bundle at path Payload/Tablo-tvOS.app/Frameworks/Libshaderc_combined.framework has an invalid CFBundleIdentifier 'com.kintan.ksplayer.Libshaderc_combined' when pushing to TF. Is there a specific branch that fixes this?

cxfksword commented 2 months ago

main branch has updated libshaderc CFBundleIdentifier, You can try to see if it solves the issue.

bryandunbar commented 2 months ago

Thx @cxfksword. We are able to process for TF now!

stonerl commented 2 months ago

main branch has updated libshaderc CFBundleIdentifier, You can try to see if it solves the issue.

Could you push a new release? Like 0.38.0_1 or so? We switched to the new repo and can't pull in MPVKit as a dependency becasue the mismatching libshaderc CFBundleIdentifier.

stonerl commented 2 months ago

Checking out the main branch now gives me this error:

checksum of downloaded artifact of binary target 'Libshaderc_combined'

(2a9d485336d64ac36d148c3ebc1194e980b36e6e8a419f03ed4e4b5bca7e2a9c)

does not match checksum specified by the manifest 

(f6267f62881e9496608069266ba52b025bcfcd6ec5859d02d780feeabfacc947)
cxfksword commented 2 months ago

Checking out the main branch now gives me this error:

checksum of downloaded artifact of binary target 'Libshaderc_combined'

(2a9d485336d64ac36d148c3ebc1194e980b36e6e8a419f03ed4e4b5bca7e2a9c)

does not match checksum specified by the manifest 

(f6267f62881e9496608069266ba52b025bcfcd6ec5859d02d780feeabfacc947)

It seems that SPM meet cache problem, you need to delete all old package cache.

stonerl commented 2 months ago

I already did this. Deleted the Build Folder and also Reset the Package Caches

cxfksword commented 2 months ago

I already did this. Deleted the Build Folder and also Reset the Package Caches

You can try delete all SPM cache:

rm -rf ~/Library/Caches/org.swift.swiftpm
rm -rf ~/Library/org.swift.swiftpm
arekf commented 2 months ago

I already did this. Deleted the Build Folder and also Reset the Package Caches

You can try delete all SPM cache:

rm -rf ~/Library/Caches/org.swift.swiftpm
rm -rf ~/Library/org.swift.swiftpm

It does not solve the issue, tested on a clean macOS installation

cxfksword commented 2 months ago

I publish new version 0.38.0-fix, need to specify using this version to fix this error.

stonerl commented 2 months ago

@cxfksword thanks that one works