Traccar iOS app custom build

Macan2 years ago

Hello,

I am trying to build the ios manager app via xcode but keep getting firebase errors, even I do not change anything in the code I just installed cocoapods and pod install command is used and there is some errors about firebase which I can not solve easy.

Is there any way to delete firebase function from the app that I can build clean version without push notifications?

Anton Tananaev2 years ago

I'm pretty sure by default we don't use firebase. Make sure you're not building Google build type.

Macan2 years ago

Thank you for the answer Anton.

Ok, I will check it and let you know today.

Best regards

Macan2 years ago

Ok, I just checked there is file called "POD" in the traccar ios directory and contain some firebase features , please check the image bellow:
https://ibb.co/581cCD9

and to start build the app I must use command in the traccar directory "pod install" then it will install from the pod file some firebase features.

Then when I try to build the app I get this error message:
https://ibb.co/YdhCZLs

I solve it by selecting "arm64" on the field "Excluded Architectures" but

then I get three new errors by firebase , image bellow:
https://ibb.co/Zz8Zz7x

Is there anything I am doing wrong here , please ?

Anton Tananaev2 years ago

Looks like an issue with Apple M1. This might be relevant:

https://github.com/firebase/firebase-ios-sdk/blob/CocoaPods-7.2.0/AppleSilicon.md

Macan2 years ago

Thank you Anton , I will check it .

JMVSLa year ago

Did you get this working? I have the same problem since installing xcode 14