Description
Describe your environment
- Xcode version: 9.1.0
- Firebase SDK version: master
- Firebase Component: n/a
- Component version: n/a
Describe the problem
Steps to reproduce:
BuildFrameworks's build.swift
generates Framework folders that have a number of problems in practice:
-
The naming convention is not usable out-of-the-box, the linker will go looking for
FirebaseCore_macOS/FirebaseCore_macOS
while the actual binary isFirebaseCore/FirebaseCore
. This is perhaps a documentation issue, but the error thatld
throws is very broad and Googling will lead you down many incorrect paths -
The generated Frameworks are manually put-together via
build.swift
and don't have aVersions
folder.clang
andld
don't seem to mind this, butcodesign
on Xcode 9.x seems to barf on these binaries, trying to find aVersions/A
folder -
codesign relies on
Resources/Info.plist
to exist and be at least somewhat correctly filled out, or it doesn't know which actual file to sign