-
Notifications
You must be signed in to change notification settings - Fork 361
[Bug] unexpected char: '\' when using project export #498
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
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
Hi @andreimamlay, Thanks for reporting this, @andreimamlay. Version 1.2.169 of the resolver has been released recently. Could you confirm if the issue persists using that version as well? |
Thank you for your time, @paulinon . I have
and can confirm, that issue remains: incorrect path delimiter is inserted into In master branch the following code still remains and causes incorrect delimiter on windows platform unity-jar-resolver/source/AndroidResolver/src/PlayServicesResolver.cs Lines 2146 to 2147 in 8d9505b
Changing said line to repoUri = String.Format("\"{0}\"",
Path.Combine(projectFileUri, repoPath).Replace("\\", "/")); would fix the problem on windows platform |
Thanks for the information, @andreimamlay. I was able to observe this behavior on a Windows platform as well. I'll let the team know about this. That being said, I'll be marking this as a bug for now. |
There was a PR for this issue! |
@paulinon |
#421 was merged. I am preparing a new release of EDM4U once I got another patch in. If you need the patch soon, you can rebuild EDM4U using
|
- Version 1.2.170 - Apr 4, 2022 * Android Resolver - Fixes #498 - Fix the path separator of the Maven repo injected to `mainTemplate.gradle`. * iOS Resolver - Fixes #470 - Switch default Cocoapods master repo from Github to CDN. * iOS Resolver - `Link Framework Statically` setting is now default to `true`. That is, `use_frameworks! :linkage => static` will be added to `Podfile` by default instead of `use_frameworks!`. This can be changed in iOS Resolver settings. This fixes odd behaviors when pods include static libraries, ex. Firebase Analytics. * iOS Resolver - Added a workaround when app crashes on launch due to `Library not loaded: @rpath/libswiftCore.dylib` when some pods includes Swift framework. This is turned `OFF` by default and can be changed in iOS Resolver settings.
- Version 1.2.170 - Apr 4, 2022 * Android Resolver - Fixes #498 - Fix the path separator of the Maven repo injected to `mainTemplate.gradle`. * iOS Resolver - Fixes #470 - Switch default Cocoapods master repo from Github to CDN. * iOS Resolver - `Link Framework Statically` setting is now default to `true`. That is, `use_frameworks! :linkage => static` will be added to `Podfile` by default instead of `use_frameworks!`. This can be changed in iOS Resolver settings. This fixes odd behaviors when pods include static libraries, ex. Firebase Analytics. * iOS Resolver - Added a workaround when app crashes on launch due to `Library not loaded: @rpath/libswiftCore.dylib` when some pods includes Swift framework. This is turned `OFF` by default and can be changed in iOS Resolver settings.
- Version 1.2.170 - Apr 4, 2022 * Android Resolver - Fixes #498 - Fix the path separator of the Maven repo injected to `mainTemplate.gradle`. * iOS Resolver - Fixes #470 - Switch default Cocoapods master repo from Github to CDN. * iOS Resolver - `Link Framework Statically` setting is now default to `true`. That is, `use_frameworks! :linkage => static` will be added to `Podfile` by default instead of `use_frameworks!`. This can be changed in iOS Resolver settings. This fixes odd behaviors when pods include static libraries, ex. Firebase Analytics. * iOS Resolver - Added a workaround when app crashes on launch due to `Library not loaded: @rpath/libswiftCore.dylib` when some pods includes Swift framework. This is turned `OFF` by default and can be changed in iOS Resolver settings.
- Version 1.2.170 - Apr 4, 2022 * Android Resolver - Fixes #498 - Fix the path separator of the Maven repo injected to `mainTemplate.gradle`. * iOS Resolver - Fixes #470 - Switch default Cocoapods master repo from Github to CDN. * iOS Resolver - `Link Framework Statically` setting is now default to `true`. That is, `use_frameworks! :linkage => static` will be added to `Podfile` by default instead of `use_frameworks!`. This can be changed in iOS Resolver settings. This fixes odd behaviors when pods include static libraries, ex. Firebase Analytics. * iOS Resolver - Added a workaround when app crashes on launch due to `Library not loaded: @rpath/libswiftCore.dylib` when some pods includes Swift framework. This is turned `OFF` by default and can be changed in iOS Resolver settings.
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
Please answer the following, if applicable:
100%
Caused by the following code in PlayServicesResolver.cs
For example,
Path.Combine("file:///C:/Unity/TestGame", "Assets/GeneratedLocalRepo/Firebase/m2repository")
producesfile:///C:/Unity/TestGame\Assets/GeneratedLocalRepo/Firebase/m2repository
The text was updated successfully, but these errors were encountered: