Open joeisapro opened 4 years ago
Looking at the build logs, it's obvious something is wrong since the project doesn't even compile. This is an empty project with 0 lines of code.
If I create an empty project in Xcode 11, add a new Image Set to Assets.xcassets and add the same images - everything compiles fine and runs fine.
The Contents.json file in the Xamarin solution looks really different from the one in the Xcode solution.
They both have the same 2 files under Universal, 1x and 2x.
I copied the file from the Xcode solution over the Xamarin one and the solution now builds and I can also open Storyboards with Xcode Interface Builder.
I can reproduce this with the attached solution. The problem isn't that the project doesn't build (actool crashes, which is an Apple bug), but how the project became unbuildable.
@joeisapro exactly how did you create this project?
I created a new single view app from Visual Studio for Mac, then added a new Image Set and 2 images.
Did the exact same thing when creating the Xcode version - which worked fine.
It also crashes with an empty Image Set
I've added a zip file with the Contents.json file found under Image.imageset, from the Visual Studio solution and the Xcode solution - for reference. As I said, using the one generated by Xcode, in the Visual Studio solution, seems to fix the issue.
Thanks, I've passed this along to the team responsible for the Xcode integration.
Steps to Reproduce
Expected Behavior
Xcode should open and allow me to edit the Storyboard
Actual Behavior
Communication between Xcode 11 and Visual Studio Mac breaks because Xcode quits unexpectedly.
Environment
Build Logs
build.log
Example Project (If Possible)
TestImageAssets2.zip
Xcode4Sync.2019-08-20__13-19-28.log
Contents_json.zip