zenangst / Vaccine

:syringe: Vaccine - Make your apps immune to recompile-disease
Other
307 stars 18 forks source link

Add extra constraint to not load injection unless the main bundle is in derived data #52

Closed zenangst closed 6 years ago

zenangst commented 6 years ago

Now the bundle won't load unless the application is in derived data.

codecov-io commented 6 years ago

Codecov Report

Merging #52 into master will increase coverage by 0.04%. The diff coverage is 20%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #52      +/-   ##
=========================================
+ Coverage   27.45%   27.5%   +0.04%     
=========================================
  Files          16      16              
  Lines         437     440       +3     
=========================================
+ Hits          120     121       +1     
- Misses        317     319       +2
Impacted Files Coverage Δ
Tests/iOS+tvOS/UIApplicationDelegateTests.swift 0% <0%> (ø) :arrow_up:
Source/Shared/Injection.swift 27.1% <25%> (+0.17%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 42e16c2...7b3bbbf. Read the comment docs.

jasonnam commented 5 years ago

This change prevent me from loading bundle on simulator. I am using Xcode 10 and build configuration for running is set to Debug. Could you explain me more in which case the main bundle path contains products/debug in its path?