Description
Setup:
MacOS 13.4.1 (M1 Pro)
Xcode 14.3.1, no other version installed on the machine
Repro setups:
- Clone azure-sdk-tools from GitHub
- Open SwiftAPIView.xcworkspace using Xcode
- Build SwiftAPIView project
- Open build target folder by going to menu Product-> Show Build Folder in Finder
- Navigate to Product/Debug, SwiftAPIView should be in there
- Go to https://github.com/Azure/Communication/releases/tag/v2.4.1
- Download the zip file for ACS calling 2.4.1
- Extract the zip file, copy AzureCommunicationCalling.xcframework to /Users/gaobob/Library/Developer/Xcode/DerivedData/SwiftAPIView-ehzuyxphgnefwefudpgkzagqfbhh/Build/Products/Debug (will be different per machine, this is where the SwiftAPIView output is)
- Open terminal, navigate to .../Product/Debug
- Run the following command for SwiftAPIView: gaobob@Bobs-Laptop Debug % ./SwiftAPIView --source=./AzureCommunicationCalling.xcframework --package-name=AzureCommunicationCalling --package-version=2.4.1 --dest=AzureCommunicationCalling-2.4.1.json
- Observe the following errors in the output, the output JSON is only 58kb and missing almost all of the classes.
- Please see generated json. GitHub won't let me upload .json, so I added a .zip extension. Please rename and remove .zip to open the json file.
AzureCommunicationCalling-2.4.1.json.zip
gaobob@Bobs-Laptop Debug % ./SwiftAPIView --source=./AzureCommunicationCalling.xcframework --package-name=AzureCommunicationCalling --package-version=2.4.1 --dest=AzureCommunicationCalling-2.4.1.json
objc[4146]: Class _TtC11SwiftSyntax16BumpPtrAllocator is implemented in both /Users/gaobob/Library/Developer/Xcode/DerivedData/SwiftAPIView-ehzuyxphgnefwefudpgkzagqfbhh/Build/Products/Debug/Frameworks/SwiftAPIViewCore.framework/Versions/A/SwiftAPIViewCore (0x10407a568) and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftSyntax.dylib (0x105a8ca10). One of the two will be used. Which one is undefined.
objc[4146]: Class _TtC11SwiftSyntax35IncrementalParseReusedNodeCollector is implemented in both /Users/gaobob/Library/Developer/Xcode/DerivedData/SwiftAPIView-ehzuyxphgnefwefudpgkzagqfbhh/Build/Products/Debug/Frameworks/SwiftAPIViewCore.framework/Versions/A/SwiftAPIViewCore (0x10407a750) and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftSyntax.dylib (0x105a8cbc0). One of the two will be used. Which one is undefined.
objc[4146]: Class _TtC11SwiftSyntax26IncrementalParseTransition is implemented in both /Users/gaobob/Library/Developer/Xcode/DerivedData/SwiftAPIView-ehzuyxphgnefwefudpgkzagqfbhh/Build/Products/Debug/Frameworks/SwiftAPIViewCore.framework/Versions/A/SwiftAPIViewCore (0x10407a7e8) and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftSyntax.dylib (0x105a8cc58). One of the two will be used. Which one is undefined.
objc[4146]: Class _TtC11SwiftSyntax23SourceLocationConverter is implemented in both /Users/gaobob/Library/Developer/Xcode/DerivedData/SwiftAPIView-ehzuyxphgnefwefudpgkzagqfbhh/Build/Products/Debug/Frameworks/SwiftAPIViewCore.framework/Versions/A/SwiftAPIViewCore (0x10407f918) and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftSyntax.dylib (0x105a8cd98). One of the two will be used. Which one is undefined.
objc[4146]: Class _TtC11SwiftSyntax11SyntaxArena is implemented in both /Users/gaobob/Library/Developer/Xcode/DerivedData/SwiftAPIView-ehzuyxphgnefwefudpgkzagqfbhh/Build/Products/Debug/Frameworks/SwiftAPIViewCore.framework/Versions/A/SwiftAPIViewCore (0x10407fbb0) and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftSyntax.dylib (0x105a8cfb8). One of the two will be used. Which one is undefined.
objc[4146]: Class _TtC11SwiftSyntax18ParsingSyntaxArena is implemented in both /Users/gaobob/Library/Developer/Xcode/DerivedData/SwiftAPIView-ehzuyxphgnefwefudpgkzagqfbhh/Build/Products/Debug/Frameworks/SwiftAPIViewCore.framework/Versions/A/SwiftAPIViewCore (0x10407fcd0) and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftSyntax.dylib (0x105a8d0b8). One of the two will be used. Which one is undefined.
objc[4146]: Class _TtC11SwiftSyntax16SyntaxAnyVisitor is implemented in both /Users/gaobob/Library/Developer/Xcode/DerivedData/SwiftAPIView-ehzuyxphgnefwefudpgkzagqfbhh/Build/Products/Debug/Frameworks/SwiftAPIViewCore.framework/Versions/A/SwiftAPIViewCore (0x104081ba0) and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftSyntax.dylib (0x105a8f940). One of the two will be used. Which one is undefined.
objc[4146]: Class _TtC11SwiftSyntax14SyntaxRewriter is implemented in both /Users/gaobob/Library/Developer/Xcode/DerivedData/SwiftAPIView-ehzuyxphgnefwefudpgkzagqfbhh/Build/Products/Debug/Frameworks/SwiftAPIViewCore.framework/Versions/A/SwiftAPIViewCore (0x104085f20) and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftSyntax.dylib (0x105a93a30). One of the two will be used. Which one is undefined.
objc[4146]: Class _TtC11SwiftSyntax13SyntaxVisitor is implemented in both /Users/gaobob/Library/Developer/Xcode/DerivedData/SwiftAPIView-ehzuyxphgnefwefudpgkzagqfbhh/Build/Products/Debug/Frameworks/SwiftAPIViewCore.framework/Versions/A/SwiftAPIViewCore (0x104087228) and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftSyntax.dylib (0x105a94c18). One of the two will be used. Which one is undefined.
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling-Swift.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/ACSVideoStreamRenderer.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/ACSVideoStreamRendererView.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/ACSFeatures.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/ACSCallKit.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-x86_64-simulator/AzureCommunicationCalling.framework/Headers/ACSStreamSize.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling-Swift.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/ACSVideoStreamRenderer.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/ACSVideoStreamRendererView.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/ACSFeatures.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/ACSCallKit.h'
:1:9: note: in file included from :1:
#import "Headers/AzureCommunicationCalling.h"
^
././AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling.h:9:9: error: 'AzureCommunicationCommon/AzureCommunicationCommon-Swift.h' file not found
#import <AzureCommunicationCommon/AzureCommunicationCommon-Swift.h>
^
:0: error: failed to import bridging header './AzureCommunicationCalling.xcframework/ios-arm64/AzureCommunicationCalling.framework/Headers/ACSStreamSize.h'
gaobob@Bobs-Laptop Debug %
Metadata
Assignees
Type
Projects
Status
📋 Backlog