-
Notifications
You must be signed in to change notification settings - Fork 864
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
Im having trouble getting AWSSDK.Core to load on Xamarin.Mac #307
Comments
What is your environment and how are you attempting to add the AWS SDK to your project? The recommended approach is to open your project in Xamarin Studio or Visual Studio, then to use NuGet to add a reference to the SDK. For instance, if my project is going to use DynamoDB, I would open the NuGet interface, search for "awssdk dynamodb", find the package named "AWSSDK - Amazon DynamoDB", and install that. Installing this package will also install the AWSDK.Core package. |
Just setting up a test project using S3 + dependencies crashes on startup... Here is a sample project: AWSXamMacTest.zip |
The environment: Mac OS X (only one supported), Xamarin Studio (VS not supported), Apple computer (only one supported) 😜 And yes Im using NuGet packages |
I hacked it a little last night. I installed it with NuGet, then manually changed the reference to the PCL one, then forced the PlatformServices (using reflection). It kinda worked but I think just simply building the iOS version, with a few #if's, on a Xamarin.Mac project should fix it. Again, unless Im missing something. I did try referencing an Xamarin.iOS lib on a Xamarin.Mac project and it does not like it. The compiler, linker, etc is the same between the two but the platform library has a different assembly name. So I don't see how it could work the way it is. |
I went ahead and setup a new Xamarin.Mac project. I haven't integrated it into your build/nuspec but this should at least take care of the setup (if it goes down that route) |
At the moment we do not support Xamarin.Mac . I've added this to the feature requests for now |
According to your nuget package you do |
I take it Xamarin.Mac is still not supported via the SDK? Is this planned at all? I could really make some use of it. |
+1 |
1 similar comment
👍 |
Everytime it tries to load I get "Could not load file or assembly 'Xamarin.iOS' or one of its dependencies. The system cannot find the file specified." I then realized that you are using the exact same dll for Xamarin.Mac and Xamarin.iOS. I know they are supposed to be compatible but since the assembly names are diff it's not resolving some of the dependencies.
Is there any way you can add a Xamarin.Mac build? (I don't mind helping with this but not sure what need to happen on your end)
Or am I just doing something wrong?
The text was updated successfully, but these errors were encountered: