Comments (10)
Hi !
Can you try it without use_frameworks!
instruction ? It can be the problem (CocoaPods/CocoaPods#7155)
Regards,
from atinternet-apple-sdk.
Hi !
Can you try it without
use_frameworks!
instruction ? It can be the problem (CocoaPods/CocoaPods#7155)Regards,
Hi Nicolas,
Thank you for your reply :)
I don't think I can do that since I need it for other dependencies and it applies for every pod. I tried to set the use_framework!
after declaring the ATInternet pod for each target, but the result was the same, as I expected. Also, the readme seems to indicates to set use_framework!
too.
I think the solution would probably be to set a different module-name for this AppExtension pod so it doesn't get in conflict with the main one. (Both named "Tracker")
This solution was probably the one chosen previously with the pod "ATInternet-Apple-SDK-TrackerExtension" that had a different module-name "TrackerExtension" instead of "Tracker". Though, this "ATInternet-Apple-SDK-TrackerExtension" seems to be deprecated since it's still in version 2.13.0 (!= 2.19.0). The fact that the readme says that we "could need to use another pod" seems to indicate that this was the solution that could make me avoid conflicts.
Also, the documentation on the ATInternet website also quotes this pod in the integration tutorial (Link to the pod)
Do you have any information about why this has been deprecated ?
Thanks in advance,
from atinternet-apple-sdk.
Before 2.13.0 version, we provide different pods for Tracker and Extension.
Since, we provide only one pod with multiples sub-targets to facilitate deployments and maintainability.
After some local tests, i can reproduce even if I provide 2 pod instead of 1
It seems to be Cocoapods issue again (CocoaPods/CocoaPods#8206)
Regards,
from atinternet-apple-sdk.
I will investigate on the different workarounds in this thread. Thanks a lot for your help !
I'll link the solution and close the issue here as soon as I find one (let's hope I do ;))
Regards,
from atinternet-apple-sdk.
Hi,
Unfortunately, none of the provided solutions in the thread seemed to work for my case.
Therefore, may I propose a solution that won't induce a lot of work from your team. I have made a fork of your project to test the solution, in this fork I created a secondary podspec only for the AppExtension submodule, making it the main module. This way I was able to access a separate pod named "ATInternet-Apple-SDK-AppExtension" using a different modulename : "TrackerExtension". This solved my problem as there were no more name conflicts between two frameworks during the archiving process. I just had to import the right tracker using an environment variable in files shared between my app and the extension using the Tracker.
I was also wondering if I could use the extension submodule only if I don't use the debugger and other methods inaccessible to app extensions. Though this would be a dirty solution too.
This is a workaround to a Cocoapods or Xcode issue, but since the issue hasn't been solved in years now, it might be coming handy for you customers with the same needs as we had.
For my needs I could just put this new podspec in a private repository, updating it from time to time to match yours when a new version comes out, but I can also make a merge request of this file with an update of the readme including these informations if you want.
Regards,
from atinternet-apple-sdk.
Hi,
I pushed a new branch which embed fix for your problem : https://github.com/at-internet/atinternet-apple-sdk/tree/fix/cocoapods_extension
Can you try it ? If it solve the issue, it will be reintegrate for the next release
Regards,
from atinternet-apple-sdk.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
from atinternet-apple-sdk.
Hi,
I pushed a new branch which embed fix for your problem : https://github.com/at-internet/atinternet-apple-sdk/tree/fix/cocoapods_extension
Can you try it ? If it solve the issue, it will be reintegrate for the next releaseRegards,
I was pretty sure I replied but I canβt see my reply anymore for some reason ^^
I have been using your fix for a month now and It works fine. In order for this issue to survive until merging for the next release, I am adding a comment now :)
from atinternet-apple-sdk.
Hello,
The new version is available and a new pod has been deployed : ATInternet-Apple-SDK-AppExtension
Regards,
from atinternet-apple-sdk.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
from atinternet-apple-sdk.
Related Issues (20)
- 2.19 minimal iOS version is not 10.0, but 12.0 HOT 16
- Issue for Kid category App with 2.19.0 HOT 9
- App Keep Crashing π₯ on TestFlight βοΈ HOT 3
- Crash π₯ 2.20.0-2.21.1 HOT 10
- Tracker RichMedia refresh never sent HOT 4
- Crash on AppleWatch since 2.22.0 HOT 3
- [FeatureRequest]: SPM HOT 1
- Where is 2.22.2? HOT 1
- Model not working on macOS HOT 3
- Compile error : Cannot find 'CTRadioAccessTechnologyNR'/'CTRadioAccessTechnologyNRNSA' in scope HOT 4
- Privacy.extendIncludeBuffer not working for at, ac parameters HOT 2
- Access didBecomeActive HOT 4
- Crash on iOS 12 or lower when Objective-C app uses a Swift framework that tries to decode a missing JSON property HOT 2
- Crash Privacy.getVisitorModeIncludeBuffer(_:) HOT 5
- Swift Package Manager integration HOT 3
- Crash on tracker.configuration.parameters
- Custom Event never send
- SPM Support soon? HOT 2
- iOS 17 Double-encoded URL strings HOT 3
- Add PrivacyInfo.xcprivacy In project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atinternet-apple-sdk.