Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B Bolts-ObjC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 34
    • Issues 34
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • BoltsFramework
  • Bolts-ObjC
  • Merge requests
  • !290

Mark classes and methods unavailable for extensions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/felix-dumit/extension-unavailable into master Nov 29, 2016
  • Overview 5
  • Commits 7
  • Pipelines 0
  • Changes 23

Created by: felix-dumit

This is mostly relevant to when using cocoapods, as of version 1.1.0 you can no longer have a Podfile with a different subspec for the app target and extensions, i.e:

use_frameworks!

target 'TestApp' do
   pod "Bolts"
end

target 'Today' do
   pod "Bolts/Tasks"
end

[!] The 'Pods-TestApp' target has frameworks with conflicting names: bolts

So the solution is to use pod 'Bolts' for both targets. In order to do that some methods/classes need to be marked as unavailable so the app is compilable.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/felix-dumit/extension-unavailable