pendo-io / pendo-mobile-sdk

Pendo captures product usage data, gathers user feedback, and lets you communicate in-app to onboard, educate, and guide users to value
https://www.pendo.io
Other
57 stars 2 forks source link

While building for macOS, no library for this platform was found in #91

Closed AyaBassi closed 8 months ago

AyaBassi commented 8 months ago

Platform + Version iOS 13 SDK Version 3.0.0

Framework In a Swift package to be used for SwiftUI Native, SwiftUI

Describe the bug After adding the Pendo Url .git to Package.swift as dependency this error is shown when building.

/Users/TestUser/Library/Developer/Xcode/DerivedData/TestPackage-ddolwbkmejmywdgfegtcxrsndohd/SourcePackages/artifacts/pendo-mobile-sdk/Pendo/Pendo.xcframework:1:1: While building for macOS, no library for this platform was found in '/Users/TestUser/Library/Developer/Xcode/DerivedData/TestPackage-ddolwbkmejmywdgfegtcxrsndohd/SourcePackages/artifacts/pendo-mobile-sdk/Pendo/Pendo.xcframework'.

To Reproduce Steps to reproduce the behavior:

  1. Go to Package.swift
  2. Click on Add Pendo as third party Library
  3. Scroll down to Build
  4. See error
MikePendo commented 8 months ago

Currently the SDK is for IOS only.

AyaBassi commented 8 months ago

Yes, the issue is why is it building for MacOS. We just want it to build for iOS.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Michael Rozenblat @.> Sent: Tuesday, December 5, 2023 3:19:48 PM To: pendo-io/pendo-mobile-sdk @.> Cc: AyaBassi @.>; Author @.> Subject: Re: [pendo-io/pendo-mobile-sdk] While building for macOS, no library for this platform was found in (Issue #91)

Closed #91https://github.com/pendo-io/pendo-mobile-sdk/issues/91 as completed.

— Reply to this email directly, view it on GitHubhttps://github.com/pendo-io/pendo-mobile-sdk/issues/91#event-11154920929, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBCESQY7CJSF6GSXCTLYNTYH43RJAVCNFSM6AAAAABAH2JC2GVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGE2TIOJSGA4TEOI. You are receiving this because you authored the thread.Message ID: @.***>

MikePendo commented 8 months ago

@AyaBassi I am not sure why you are building for macOS, The SDK is just a binary that is already build, you will need to see in your project configuration. Maybe u have multiple targets? so you can delete the SDK in the MacOS target in Framewrok,Libararies and keep it in the iOS target only. Other wise create us a sample project an we will look