Closed Zaveri21 closed 1 year ago
Hello @Zaveri21 , thank you for reporting this. We are actively looking in to the issue.
Kind regards, Talsec team
Hello!
I am really sorry for the inconvenience. We are actively investigating the issue.
Currently, we are suspecting pod cache. Can you clean pod caches and try it again?
pod cache clean --all
Can you try to remove .symlinks
folder which contains freerasp
and then run pod install
again?
Thanks for the quick support 👍 yes, tried but still getting same error.
CocoaPods : 1.12.0
Ruby : ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
RubyGems : 3.4.10
Host : macOS 13.3.1 (22E261)
Xcode : 14.3 (14E222b)
Ruby lib dir : /opt/homebrew/Cellar/ruby/3.2.2/lib
can you check anything above i need to update ?
Hello.
We managed to pinpoint the issue and found a way to fix the issue:
dart pub remove
)pub get
to sync dependenciesdart pub cache clean
y
pod cache clean --all
pub get
pod install
to test itHope this helps.
Thanks for the help but after performing above steps but still getting same error result.
Hello @Zaveri21 , the issue might be a different cache folder. Could you try the following?:
.flutter-plugins
(in the root folder of the app), and get the address, where the freerasp is installed.freerasp-5.0.0
folder from that address.pub get
pod install
to test itDid it work?
sorry, above solution also not worked for me!. if i removed freerasp: ^5.0.0 package and apply pod install, pods installed successfully and after that again re-added freerasp: ^5.0.0 but again getting same errors.
The issue is in the retained cache from older version of freeRASP. Have you cleaned the cache exactly as specified in the previous step? https://github.com/talsec/Free-RASP-Flutter/issues/65#issuecomment-1551264017
Hello.
Were you able to resolve this issue?
Kind regards, Jaroslav, Talsec team
Hello.
Were you able to resolve this issue?
Kind regards, Jaroslav, Talsec team
Sorry not resolved this issue. thanks for the support.
Hello.
We managed to pinpoint the issue and found a way to fix the issue:
- Remove freerasp from your pubspec.yaml (by commenting line or running
dart pub remove
)- Run
pub get
to sync dependencies- Clean pub cache by running
dart pub cache clean
- Confirm it by typing
y
- Delete .symlinks folder from project
- Clean pod cache by running
pod cache clean --all
- Add freerasp back to your project
- Run
pub get
- Run
pod install
to test itHope this helps.
Thanks @yardexx I was getting the same error and this worked for me and error gone but getting issue with ios build. Here is the my log please check.
PhaseScriptExecution [CP]\ Copy\ XCFrameworks /Users/mohdgayasuddin/Library/Developer/Xcode/DerivedData/Runner-chavmhqymkkloubjbjvyfnfxobmp/Build/Intermediates.noindex/Pods.build/Debug-uat-iphoneos/freerasp.build/Script-25932C332ED339ADF3E0604C7A38C235.sh (in target 'freerasp' from project 'Pods') cd /Users/mohdgayasuddin/Documents/www/mobile-app/ios/Pods /bin/sh -c /Users/mohdgayasuddin/Library/Developer/Xcode/DerivedData/Runner-chavmhqymkkloubjbjvyfnfxobmp/Build/Intermediates.noindex/Pods.build/Debug-uat-iphoneos/freerasp.build/Script-25932C332ED339ADF3E0604C7A38C235.sh
Selected xcframework slice ios-arm64 rsync --delete -av --filter P ..?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "/Users/mohdgayasuddin/Documents/www/mobile-app/ios/Pods/../.symlinks/plugins/freerasp/ios/TalsecRuntime.xcframework/ios-arm64/" "/Users/mohdgayasuddin/Library/Developer/Xcode/DerivedData/Runner-chavmhqymkkloubjbjvyfnfxobmp/Build/Products/Debug-uat-iphoneos/XCFrameworkIntermediates/freerasp" building file list ... rsync: link_stat "/Users/mohdgayasuddin/Documents/www/mobile-app/ios/Pods/../.symlinks/plugins/freerasp/ios/TalsecRuntime.xcframework/ios-arm64//*" failed: No such file or directory (2) done
sent 29 bytes received 20 bytes 98.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9] Command PhaseScriptExecution failed with a nonzero exit code
Hello. We managed to pinpoint the issue and found a way to fix the issue:
- Remove freerasp from your pubspec.yaml (by commenting line or running
dart pub remove
)- Run
pub get
to sync dependencies- Clean pub cache by running
dart pub cache clean
- Confirm it by typing
y
- Delete .symlinks folder from project
- Clean pod cache by running
pod cache clean --all
- Add freerasp back to your project
- Run
pub get
- Run
pod install
to test itHope this helps.
Thanks @yardexx I was getting the same error and this worked for me and error gone but getting issue with ios build. Here is the my log please check.
PhaseScriptExecution [CP]\ Copy\ XCFrameworks /Users/mohdgayasuddin/Library/Developer/Xcode/DerivedData/Runner-chavmhqymkkloubjbjvyfnfxobmp/Build/Intermediates.noindex/Pods.build/Debug-uat-iphoneos/freerasp.build/Script-25932C332ED339ADF3E0604C7A38C235.sh (in target 'freerasp' from project 'Pods') cd /Users/mohdgayasuddin/Documents/www/mobile-app/ios/Pods /bin/sh -c /Users/mohdgayasuddin/Library/Developer/Xcode/DerivedData/Runner-chavmhqymkkloubjbjvyfnfxobmp/Build/Intermediates.noindex/Pods.build/Debug-uat-iphoneos/freerasp.build/Script-25932C332ED339ADF3E0604C7A38C235.sh
Selected xcframework slice ios-arm64 rsync --delete -av --filter P ..?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "/Users/mohdgayasuddin/Documents/www/mobile-app/ios/Pods/../.symlinks/plugins/freerasp/ios/TalsecRuntime.xcframework/ios-arm64/" "/Users/mohdgayasuddin/Library/Developer/Xcode/DerivedData/Runner-chavmhqymkkloubjbjvyfnfxobmp/Build/Products/Debug-uat-iphoneos/XCFrameworkIntermediates/freerasp" building file list ... rsync: link_stat "/Users/mohdgayasuddin/Documents/www/mobile-app/ios/Pods/../.symlinks/plugins/freerasp/ios/TalsecRuntime.xcframework/ios-arm64//*" failed: No such file or directory (2) done
sent 29 bytes received 20 bytes 98.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9] Command PhaseScriptExecution failed with a nonzero exit code
same issue
Hello.
I have checked the logs and it seems like some script is trying to link freerasp:
list ... rsync: link_stat "/Users/mohdgayasuddin/Documents/www/mobile-app/ios/Pods/../.symlinks/plugins/freerasp/ios/TalsecRuntime.xcframework/ios-arm64//*" failed: No such file or directory (2)
Have you removed the integration script (which you had to have in previous versions)?
To check and remove the script:
Hello @hmhung2531991 , @ladla8602 , @Zaveri21 , have you managed to solve the issue using the steps @yardexx described above? Thank you!
Kind regards, Talsec team
Thank you @yardexx I faced the same issue and your solutions works for me
iOS pod install time getting errors i am integrating package 2 days ago and not getting errors after that this new package version i am getting pod install error. as per latest documentation removed all scripts from scheme which mentioned in old documentation.
https://github.com/CocoaPods/CocoaPods/search?q=No+such+file+or+directory+%40+rb_check_realpath_internal+-+%2<project_app_path>2Fios%2F.symlinks%2Fplugins%2Ffreerasp%2Fios%2FTalsecRuntime.xcframework&type=Issues
System configuration