Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error on latest 1.3.7 #18

Open
eonghk opened this issue Dec 3, 2024 · 12 comments
Open

Compile error on latest 1.3.7 #18

eonghk opened this issue Dec 3, 2024 · 12 comments

Comments

@eonghk
Copy link

eonghk commented Dec 3, 2024

I added the SDK to my iOS project via SPM but it gave compile error as below:

Library/Developer/Xcode/DerivedData/Runner-fkxkleebmmxzupdxjgcvmqgugsgm/SourcePackages/checkouts/tiktok-business-ios-sdk/TikTokBusinessSDK/TTSDKCrash/TTSDKCrashRecording/Monitors/TTSDKCrashMonitor_CPPException.h:28:10: fatal error: 'TTSDKCrashMonitor.h' file not found
       28 | #include "TTSDKCrashMonitor.h"
          |          ^~~~~~~~~~~~~~~~~~~~~
    1 error generated.
@vladimir-anisimov
Copy link

I added the SDK to my iOS project via SPM but it gave compile error as below:

Library/Developer/Xcode/DerivedData/Runner-fkxkleebmmxzupdxjgcvmqgugsgm/SourcePackages/checkouts/tiktok-business-ios-sdk/TikTokBusinessSDK/TTSDKCrash/TTSDKCrashRecording/Monitors/TTSDKCrashMonitor_CPPException.h:28:10: fatal error: 'TTSDKCrashMonitor.h' file not found
       28 | #include "TTSDKCrashMonitor.h"
          |          ^~~~~~~~~~~~~~~~~~~~~
    1 error generated.

Did you fix it? I have the same issue

@nitupaul91
Copy link

Same issue as above, not working via SPM.

@anhhuybhdvn
Copy link

Does anyone else have this problem?

Swift Compiler Error (Xcode): Property has a previous declaration
/Volumes/DierSSD/DANET%20Projects/danet_short/ios/Pods/Headers/Public/TikTokBusinessSDK/TikTokConfig.h:14:57

Swift Compiler Error (Xcode): Property has a previous declaration
/Volumes/DierSSD/DANET%20Projects/danet_short/ios/Pods/Headers/Public/TikTokBusinessSDK/TikTokConfig.h:15:57

Swift Compiler Error (Xcode): Property has a previous declaration
/Volumes/DierSSD/DANET%20Projects/danet_short/ios/Pods/Headers/Public/TikTokBusinessSDK/TikTokConfig.h:16:43

Swift Compiler Error (Xcode): Property has a previous declaration
/Volumes/DierSSD/DANET%20Projects/danet_short/ios/Pods/Headers/Public/TikTokBusinessSDK/TikTokConfig.h:17:35

Swift Compiler Error (Xcode): Property has a previous declaration
/Volumes/DierSSD/DANET%20Projects/danet_short/ios/Pods/Headers/Public/TikTokBusinessSDK/TikTokConfig.h:18:35

Swift Compiler Error (Xcode): Property has a previous declaration
/Volumes/DierSSD/DANET%20Projects/danet_short/ios/Pods/Headers/Public/TikTokBusinessSDK/TikTokConfig.h:19:35

Swift Compiler Error (Xcode): Property has a previous declaration
/Volumes/DierSSD/DANET%20Projects/danet_short/ios/Pods/Headers/Public/TikTokBusinessSDK/TikTokConfig.h:20:35

Swift Compiler Error (Xcode): Property has a previous declaration
/Volumes/DierSSD/DANET%20Projects/danet_short/ios/Pods/Headers/Public/TikTokBusinessSDK/TikTokConfig.h:21:35

Swift Compiler Error (Xcode): Property has a previous declaration
/Volumes/DierSSD/DANET%20Projects/danet_short/ios/Pods/Headers/Public/TikTokBusinessSDK/TikTokConfig.h:22:35

Swift Compiler Error (Xcode): Too many errors emitted, stopping now

Swift Compiler Error (Xcode): Could not build Objective-C module 'TikTokBusinessSDK'
/Volumes/DierSSD/DANET%20Projects/danet_short/ios/Runner/AppDelegate.swift:9:7

@yarspirin
Copy link

same issue

@TXB444
Copy link

TXB444 commented Dec 27, 2024

Any updates on this?

@alucchini
Copy link

same issue

@alexeydonov
Copy link

Having the same issue when adding dependency via SPM

@GoofSports
Copy link

Same issue adding from SPM

@jake-betplusev
Copy link

I added the SDK to my iOS project via SPM but it gave compile error as below:

Library/Developer/Xcode/DerivedData/Runner-fkxkleebmmxzupdxjgcvmqgugsgm/SourcePackages/checkouts/tiktok-business-ios-sdk/TikTokBusinessSDK/TTSDKCrash/TTSDKCrashRecording/Monitors/TTSDKCrashMonitor_CPPException.h:28:10: fatal error: 'TTSDKCrashMonitor.h' file not found
       28 | #include "TTSDKCrashMonitor.h"
          |          ^~~~~~~~~~~~~~~~~~~~~
    1 error generated.

Same issue

@yurafilin
Copy link

same issue adding from SPM

@DanielZanchi
Copy link

Any fix for this?

@thatduy
Copy link

thatduy commented Jan 15, 2025

+1 for 'TikTokBusinessSDKAddress.h' file not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests