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]: SLAvatar's CocoaPod won't build successfully #1

Open
1 task done
N3v1 opened this issue Mar 2, 2024 · 0 comments
Open
1 task done

[BUG]: SLAvatar's CocoaPod won't build successfully #1

N3v1 opened this issue Mar 2, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed P3 High priority issue scope: cocoa-pod An issue related to AvatarKit's cocoa pod scope: core Core and other reusable codebase scope: runtime Threads for addressing and improvements to AvatarKit's runtime scope: spm A swift-package-manager related bug size: M Medium sized issue status: flagged internally For issues that have been flagged for staff attention in our internal channels. type: bug Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc. type: showstopper Issues that are urgent and are critical path. These need immediate attention & shipping.

Comments

@N3v1
Copy link
Member

N3v1 commented Mar 2, 2024

Description

Hey everyone,
I was building our CocoaPod for this Libary but the build wasn't successful although building in Xcode won't generate any issues.

Heres the console output:

╭─    ~/Dev/P/SLAvatarKit    main !2 ···· 1 ✘  8s   12:08:15 pm  ─╮
╰─ pod spec lint SLAvatarKit.podspec                                         ─╯


 -> SLAvatarKit (0.0.1-dev.1)
    - ERROR | xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - NOTE  | xcodebuild:  note: Using codesigning identity override: -
    - NOTE  | xcodebuild:  note: Building targets in dependency order
    - NOTE  | xcodebuild:  note: Target dependency graph (3 targets)
    - ERROR | xcodebuild:  SLAvatarKit/SLAvatarKit/AvatarKitUI/Core/Agreement/AFAgreement.swift:20:20: error: type 'ImageResource' has no member 'memojisHeader'
    - ERROR | xcodebuild:  SLAvatarKit/SLAvatarKit/AvatarKitUI/Core/Management/AFAvatarManagement.swift:46:40: error: type 'ImageResource' has no member 'memojisHeader'
    - NOTE  | xcodebuild:  note: Using codesigning identity override:
    - NOTE  | xcodebuild:  <module-includes>:1:9: note: in file included from <module-includes>:1:
    - NOTE  | xcodebuild:  Target Support Files/SLAvatarKit/SLAvatarKit-umbrella.h:15:9: note: in file included from Target Support Files/SLAvatarKit/SLAvatarKit-umbrella.h:15:
    - ERROR | xcodebuild:  SLAvatarKit/SLAvatarKit/AvatarKit/Animojis/Service/AFAnimojiView.h:15:4: error: expected a type
    - NOTE  | xcodebuild:  <unknown>:0: error: could not build Objective-C module 'SLAvatarKit'

Analyzed 1 podspec.

[!] The spec did not pass validation, due to 4 errors.

Version

Commit: f873066
Xcode: 15.2 & 15.3 beta
macOS: 14.2
CocoaPods: 1.14.3

To Reproduce

Just run this cmd in terminal in the SLAvatarKit repo

pod spec lint SLAvatarKit.podspec

Expected Behavior

*********** BUILD SUCCESSFUL ***********

Additional Context

none

Screenshots

none

Is there an existing issue for this?

  • I have searched the existing issues
@N3v1 N3v1 added good first issue Good for newcomers help wanted Extra attention is needed P3 High priority issue scope: core Core and other reusable codebase scope: runtime Threads for addressing and improvements to AvatarKit's runtime size: M Medium sized issue status: flagged internally For issues that have been flagged for staff attention in our internal channels. type: bug Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc. type: showstopper Issues that are urgent and are critical path. These need immediate attention & shipping. labels Mar 2, 2024
@N3v1 N3v1 pinned this issue Mar 2, 2024
@N3v1 N3v1 added scope: spm A swift-package-manager related bug scope: cocoa-pod An issue related to AvatarKit's cocoa pod labels Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed P3 High priority issue scope: cocoa-pod An issue related to AvatarKit's cocoa pod scope: core Core and other reusable codebase scope: runtime Threads for addressing and improvements to AvatarKit's runtime scope: spm A swift-package-manager related bug size: M Medium sized issue status: flagged internally For issues that have been flagged for staff attention in our internal channels. type: bug Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc. type: showstopper Issues that are urgent and are critical path. These need immediate attention & shipping.
Projects
Status: Backlog
Development

No branches or pull requests

1 participant