-
Notifications
You must be signed in to change notification settings - Fork 525
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
Could not detect any platforms from 'XCODE10' / 'XCODE11' #3816
Comments
Same for my project, looks like paket does not properly processes content inside the build folder of nuget package. Ios project does not build for now |
What even is xcode10? Do we have similar? |
@forki ,it is xamarin forms magic. If we look inside xamarin.forms 4.5 nuget
package,we find xcode 11 and xcode10 folder inside 'build' folder. Files
there are very important to build an ios app. Honestly,i do not know,why
xamarin team took such decision.
вс, 19 апр. 2020 г., 16:43 Steffen Forkmann <[email protected]>:
… What even is xcode10? Do we have similar?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3816 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKNDOW6BQLARMVY63HCIIDRNL5Y3ANCNFSM4LUHCVSQ>
.
|
I noticed that an assembly named I'm guessing the Xamarin.Forms team had to provide dlls specifically compatible with the XCode version you have installed on your mac. Like @vshapenko, some of my iOS projects managed by Paket failed to build once updated by Paket. The |
Can you please describe the workaround in detail? Thx
Timothé Larivière <[email protected]> schrieb am So., 19. Apr. 2020,
16:02:
… I noticed that an assembly named Xamarin.Forms.Platform.iOS (containing
iOS-specific code - same with macOS) which was previously under
lib\Xamarin.iOS10 has been removed and replaced by 2 other ones under
build\XCode10 and build\XCode11.
I'm guessing the Xamarin.Forms team had to provide dlls specifically
compatible with the XCode version you have installed on your mac.
Like @vshapenko <https://github.com/vshapenko>, some of my iOS projects
managed by Paket failed to build once updated by Paket.
They were missing links to Xamarin.Forms.props and Xamarin.Forms.targets,
for some reasons.
Those files are at the root of the build directory.
Once I added the links manually, the projects built correctly.
The targets file automatically chooses the appropriate XCode10/11 dll, so
I don't think it really concerns Paket.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3816 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAOANF6H77CS4IS3K6IEFDRNL76ZANCNFSM4LUHCVSQ>
.
|
@forki , does paket process .props and .targets files from 'build' folder? |
Workaround of the build issue once upgrading to Xamarin.Forms 4.5.0.396 or newer: After running To be able to continue building your iOS (or macOS) project, you'll need to do the following:
For reference, see this commit: |
Ok, after some deep dive into paket sources, i think i can identify the problem: |
Please try with 6.0.0-alpha025 |
@forki I'm still having the issue with the following
|
can you please upload a zip with a small sample? |
I created it with the default Xamarin iOS template and added Xamarin.Forms 4.5.0 via If you remove |
Ok. to clearify the problem little bit:
So, the proper algorithm would be following:
Sorry for being some rude, but i have problems with clean and proper description of issues. |
ok I pushed another fix. It's no longer complaining. But which props and targets file from the sample should it import exactly? |
@forki I confirm that the warnings disappeared with 6.0.0-alpha027. For the props/targets, Xamarin.Forms requires to import both Note that |
@forki , if we look into the srtucture of directory build, we will see the following:
We need to put .props at the beginning of project file, put .targets to the end of project file. But before we do this, we should scan folders for props and targets for tfm related files, i.e. there may be /.props, which we should take instead root props file.
P.S.S https://docs.microsoft.com/en-us/nuget/create-packages/creating-a-package#from-a-convention-based-working-directory |
Description
Starting v4.5.0, Xamarin.Forms added 2 new folders in their NuGet packages, under the folder
build
, namedXCODE10
andXCODE11
.When installing this package with Paket, the following warnings appear:
Repro steps
Xamarin.Forms 4.5.0.495
Run
paket install
Warnings about
XCODE10
andXCODE11
should appear (see example above)Expected behavior
I'm not exactly sure what these warnings mean, but I would expect no warning at all.
Actual behavior
Warnings are appearing.
Known workarounds
No workaround known.
The text was updated successfully, but these errors were encountered: