Skip to content

iOS Sample apps failing during linking process #13

Closed
@ToddKerpelman

Description

@ToddKerpelman

I'm sure this is a case of "Todd forgetting some simple step" here, but I'm having issues running the sample apps on an actual iOS device -- the apps fail on the linker step.

I'll use the remote-config one as an example. I've imported the RemoteConfig.unitypackage and added the appropriate info.plist file to the sample app. I've selected iOS as the platform; built and run.

The generated Xcode project opens okay, but during the linking process fails with:

Undefined symbols for architecture arm64:
"OBJC_CLASS$_FIROptions", referenced from:
objc-class-ref in libApp.a(app_ios_c76c7d869e568a9b561ea55e25a7dcc0.o)
"OBJC_CLASS$_FIRRemoteConfigSettings", referenced from:
objc-class-ref in libRemoteConfig.a(remote_config_ios_53531e292e202c8e07f4ebe5b73bbec1.o)
"OBJC_CLASS$_FIRRemoteConfig", referenced from:
objc-class-ref in libRemoteConfig.a(remote_config_ios_53531e292e202c8e07f4ebe5b73bbec1.o)
"OBJC_CLASS$_FIRApp", referenced from:
objc-class-ref in libApp.a(app_ios_c76c7d869e568a9b561ea55e25a7dcc0.o)
"_FIRRemoteConfigThrottledEndTimeInSecondsKey", referenced from:
____ZN8firebase13remote_config5FetchEy_block_invoke in libRemoteConfig.a(remote_config_ios_53531e292e202c8e07f4ebe5b73bbec1.o)

I can see both libApp.a and libRemoteConfig.a in my Build Phases > Link Binary with Libraries step. And it appears as though the pod install has run, although I don't see a generated workspace -- I'm assuming that's intentional due to integrate_targets being false.

So I'm guessing this is probably a case of something simple not being added or some flag not being set. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions