touren / twitter-kit-ios

Twitter Kit is a native SDK to include Twitter content inside mobile apps.
Apache License 2.0
110 stars 80 forks source link

In the manual installation of TwitterKit5, TwitterShareExtensionUIResources.bundle configuration is incomplete #17

Open mario11c opened 4 years ago

mario11c commented 4 years ago

When manually installing the latest TwitterKit5 and building an Xcode project, the following error message was displayed.

error: /Users//Documents//TwitterKitTestManual/Twitter-Kit-iOS/TwitterKit.framework/TwitterShareExtensionUIResources.bundle: No such file or directory (in target 'TwitterKitTestManual' from project 'TwitterKitTestManual')

What we know at the moment is that TwitterShareExtensionUIResources.bundle cannot refer to the contents of the bundle.

LIJqf

TwitterKitResources.bundle can refer to the contents of bundle. Even if you look at the bundle in Finder, you cannot see the contents of TwitterShareExtensionUIResources.bundle.

In my old Xcode project using an older version of Twitter Kit iOS (not TwitterKit5), the contents of TwitterShareExtensionUIResources.bundle can be referenced.

PG73V

I think the error message at build time is due to the incomplete configuration of TwitterShareExtensionUIResources.bundle.

Do you know how to avoid this build error? Thank you.

touren commented 4 years ago

@mario11c TwitterShareExtensionUIResources.bundle was obsoleted since v3.4.2 and I am pretty sure you could just remove the symbol link. Let me know if it doesn't work.