Skip to content
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

[BUG] Xcode 16 Beta failing to compile with WindowsAzureMessaging dependency #145

Open
3 tasks done
newky2k opened this issue Jun 13, 2023 · 14 comments
Open
3 tasks done

Comments

@newky2k
Copy link

newky2k commented Jun 13, 2023

Describe the bug
Whilst testing our project with Xcode 15/iOS17 using the first Xcode 15 beta, we have found that we are unable to compile the app as it complains about a missing header file in the WindowsAzureMessaging dependency, which is adding using SPM.

Obviously, a quick investigation can see that the file is there and nothing has changed between Xcode 14 and 15

Xcode 14.3.1 builds without issue
Exception or Stack Trace

Showing All Messages
/Users/user/Library/Developer/Xcode/DerivedData/EFOS-gkiizosydfslxzfdkuthkpfxczum/SourcePackages/checkouts/azure-notificationhubs-ios/WindowsAzureMessaging/WindowsAzureMessaging/Helpers/SBURLConnection.m:5:9: 'ANHAsync.h' file not found

To Reproduce

  • Open a workspace or project that is using WindowsAzureMessaging in Xcode 15 beta
  • Clean and Build
  • Notice the build error.

Code Snippet
Just failing to find the file

Expected behavior
Should build

Screenshots
image
image

Setup (please complete the following information):

  • OS: MacOS Venture 13.4/iOS 17.0 target
  • IDE : Xcode 15 Beta
  • Version of the Library used: 3.1.5

Additional context
We are unable to test our application against iOS 17 without removing the package

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added
@tomkrikorian
Copy link

Having the same issue here! Have you found a workaround on your side ?

@newky2k
Copy link
Author

newky2k commented Jun 21, 2023

@tomkrikorian No i haven't, but i've been busy with other work so i haven't had time to investigate further.

@newky2k
Copy link
Author

newky2k commented Jun 22, 2023

I can confirm this is still and issue in Beta 2

@newky2k
Copy link
Author

newky2k commented Jun 22, 2023

@tomkrikorian I have managed to work round this by adding the WindowsAzureMessaging.xcframework directly to my project instead of using SPM.

@Roberdan
Copy link

Roberdan commented Jul 8, 2023

any update on this topic\package? Thx

@newky2k
Copy link
Author

newky2k commented Jul 18, 2023

Just installed Xcode 15 beta 4 and its now complaining about a different file instead of the original one i logged

image

@newky2k
Copy link
Author

newky2k commented Jul 26, 2023

Just installed Xcode 15 Beta 5 and its the same as Beta 4.

@learnwithgabbar
Copy link

Any workaround?

@newky2k
Copy link
Author

newky2k commented Aug 3, 2023

@tomkrikorian I have managed to work round this by adding the WindowsAzureMessaging.xcframework directly to my project instead of using SPM.

@learnwithgabbar the above is the only work around

@Roberdan
Copy link

FYI with Xcode 15 beta 6 it just works as expected

@newky2k
Copy link
Author

newky2k commented Aug 21, 2023

I can confirm that is is now resolved in Xcode 15 Beta 6

@newky2k newky2k closed this as completed Aug 21, 2023
@TheNightmanCodeth
Copy link

This issue is back in Xcode 16 beta 1

@newky2k newky2k reopened this Jun 18, 2024
@newky2k
Copy link
Author

newky2k commented Jun 18, 2024

I can confirm we have the same issue as before in Xcode 16 Beta 1

We have 11 other packages that don't have this problem

@newky2k newky2k changed the title [BUG] Xcode 15 Beta failing to compile with WindowsAzureMessaging dependency [BUG] Xcode 16 Beta failing to compile with WindowsAzureMessaging dependency Jun 24, 2024
@nharbo
Copy link

nharbo commented Sep 17, 2024

Issue is also present in Xcode 16.0 GM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants