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

Swift Compiler Error (Xcode): No such module 'TalsecRuntime' #39

Closed
its-engineersindia opened this issue Dec 13, 2022 · 4 comments
Closed
Labels
waiting for response Response from reporter is needed

Comments

@its-engineersindia
Copy link

We have used Free-RASP-Flutter for our app. The Android build is working fine, but the iOS one gives the following error.

Swift Compiler Error (Xcode): No such module 'TalsecRuntime'
/Users/eil-its/flutter-sdk/.pub-cache/hosted/pub.dartlang.org/freerasp-3.0.2/ios/Classes/SwiftFreeraspPlugin.swift:2:7

Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.

Please advise.

@talsec-app
Copy link
Member

Hello @its-engineersindia ,

  1. Please Check if the ios/.symlinks/plugins/freerasp/ios contains TalsecRuntime.xcframework symlink. If not, create it manually in that folder using the following command:
    ln -s ./Debug/TalsecRuntime.xcframework/ TalsecRuntime.xcframework
    If there is no .symlinks folder, create the symlink in the freerasp/ios folder.

  2. Run pod install in the application ios folder.

Kind regards,
Talsec team

@its-engineersindia
Copy link
Author

Hello @talsec-app

The symlink is already there. Please refer to the screenshot below.
Screenshot 2022-12-13 at 5 06 01 PM

@talsec-app
Copy link
Member

Hello @its-engineersindia ,
could you try running pod install in the application ios folder again?
It could also be related to #22

Kind regards,
Talsec team

@talsec-app talsec-app added the waiting for response Response from reporter is needed label Dec 14, 2022
@its-engineersindia
Copy link
Author

After a few cleans and refreshes, it started working. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for response Response from reporter is needed
Projects
None yet
Development

No branches or pull requests

2 participants