EDIT
It seems that the problem has been drilled to the point that it works in debug mode, but not in release mode. Still trying to understand why he is building one and not the other
ORIGINAL ISSUE
I have an Xcode workspace with the following structure.
Workspace:
- Uiproject
- Frameworka
- Frameworkb
FrameworkB is nested in FrameworkA, so FrameworkA depends on FrameworkB. Both are custom frameworks that I created.
It builds and compiles fine. When I try to archive it, I get the following error:
Undefined symbols for architecture armv7:
"ADI4ONS.Connection4ONS.connectionStat.getter : Swift.Bool", referenced from:
type metadata for AircraftServices.connection in Connection.o
"ADI4ONS.Connection4ONS.connectionStat.setter : Swift.Bool", referenced from:
type metadata for AircraftServices.connection in Connection.o
"ADI4ONS.Connection4ONS.connectionStat.materializeForSet : Swift.Bool", referenced from:
type metadata for AircraftServices.connection in Connection.o
"ADI4ONS.Connection4ONS.connectionString.getter : Swift.String", referenced from:
type metadata for AircraftServices.connection in Connection.o
"ADI4ONS.Connection4ONS.connectionString.setter : Swift.String", referenced from:
type metadata for AircraftServices.connection in Connection.o
"ADI4ONS.Connection4ONS.connectionString.materializeForSet : Swift.String", referenced from:
type metadata for AircraftServices.connection in Connection.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Where ADI4ONS is frameworkB and AircraftServices is FrameworkA. Any help is appreciated.
Project / Goal Configuration
- Bit Code Enabled
- Active Architecture NO ( "" )
- Xcode 8 3.0
,